Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Aug 11, 2022
1 parent f44d025 commit e26c170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maxwell/maxwell_eps.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ void set_maxwell_dielectric(maxwell_data *md,
r[1] = i2 * s2;
r[2] = i3 * s3;

if (mesh_prod == 1) {
if (epsilon && mesh_prod == 1) {
epsilon(&eps_mean, &eps_inv_mean, r, epsilon_data);
md->eps_inv[xyz_index] = eps_inv_mean;
goto got_eps_inv;
Expand Down

0 comments on commit e26c170

Please sign in to comment.