Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jun 22, 2021
1 parent fb44445 commit 4c02faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meepgeom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ void geom_epsilon::eff_chi1inv_matrix(meep::component c, symmetric_matrix *chi1i

/* check for trivial case of only one object/material */
if (material_type_equal(mat, mat_behind)) {
if (is_variable(mat)) eval_material_pt(mat, p_mat);
if (is_variable(mat)) eval_material_pt(mat, vec_to_vector3(v.center()));
goto trivial;
}

Expand Down

0 comments on commit 4c02faf

Please sign in to comment.