You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think python always requires initialization of class members to None... we use all of those variables throughout the code and haven't seen any issues.
Yes this is a bug -- we haven't ever done tests with EM sources in the z-direction.
The rect function here is legacy and not used. We use a nuttall window for the basis function.
The following four bugs were discovered using pylint.
self.frequencies
andself.monitor
should be initialized toNone
.meep/python/adjoint/objective.py
Lines 26 to 38 in 41548a3
same for:
meep/python/adjoint/objective.py
Lines 113 to 118 in 41548a3
and:
meep/python/adjoint/objective.py
Lines 170 to 176 in 41548a3
==
should be replaced with=
:meep/python/adjoint/objective.py
Line 61 in 41548a3
return
statements rather than one:meep/python/adjoint/filter_source.py
Lines 56 to 57 in 41548a3
eta
is not defined:meep/python/adjoint/filters.py
Lines 607 to 608 in 41548a3
The text was updated successfully, but these errors were encountered: