Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
oskooi committed May 2, 2022
1 parent b630cf9 commit 9b8bf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/adjoint/objective.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def place_adjoint_source(self, dJ):
center=self.volume.center,
**self.eigenmode_kwargs,
)
else isinstance(self.mode,mp.DiffractedPlanewave):
elif isinstance(self.mode,mp.DiffractedPlanewave):
source = mp.EigenModeSource(
src,
eig_band=new_dp,
Expand Down

0 comments on commit 9b8bf64

Please sign in to comment.