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
When Python function objects are passed to Meep, we really need to properly increment/decrement the reference count, e.g. here.
This may mean having some pointer-wrapper class that has virtual constructors, copy constructors, etcetera, that we can use in place of void *user_data pointers, and overload in the Python interface to use incref/decref.
The text was updated successfully, but these errors were encountered:
When Python function objects are passed to Meep, we really need to properly increment/decrement the reference count, e.g. here.
This may mean having some pointer-wrapper class that has virtual constructors, copy constructors, etcetera, that we can use in place of
void *user_data
pointers, and overload in the Python interface to use incref/decref.The text was updated successfully, but these errors were encountered: