Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed May 11, 2021
1 parent daa21f1 commit d0b870d
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 @@ -1047,7 +1047,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 d0b870d

Please sign in to comment.