weird __swig_destroy__ bug when running simulation #2948
Unanswered
poutine-dejeuner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to adapt the tutorial from Meepcon which builds a splitter with a top and a bottom output and optimises the function J = (top/source) ** 2 + (bottom/source) ** 2. I am attempting to get the value of J out of the sim object with
sim.get_eigenmode_coefficient
but I am running into this bugAttributeError: 'NoneType' object has no attribute '__swig_destroy__'
in simulation.py", line 3801, in _add_fluxish_stuff. I am unsure what I am doing wrong as I am replicating the steps from the mode decomposition tuto. My code is below but most of it is unchanged from the tutorial notebook except a small bit towards the end.
any help welcome
Beta Was this translation helpful? Give feedback.
All reactions