Skip to content

Commit 6a9f7dd

Browse files
committed
bugfix
1 parent d67b1f2 commit 6a9f7dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/meepgeom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ void geom_epsilon::eff_chi1inv_matrix(meep::component c, symmetric_matrix *chi1i
11081108

11091109
/* check for trivial case of only one object/material */
11101110
if (material_type_equal(mat, mat_behind)) {
1111-
if (is_variable(mat)) eval_material_pt(mat, p_mat);
1111+
if (is_variable(mat)) eval_material_pt(mat, vec_to_vector3(v.center()));
11121112
goto trivial;
11131113
}
11141114

0 commit comments

Comments
 (0)