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
To implement Functions on SubDomains, the reference between Grid and SubDomain must be reversed such that SubDomains have a parent Grid. However, to avoid breaking existing codes, the legacy API wherein SubDomains are passed to Grid on instantiation must be retained. This creates a circular reference between Grid and SubDomain, preventing the cache from clearing. When the legacy API is removed, tests/test_caching.py::TestMemoryLeaks::test_solve should be updated to reflect this.
The text was updated successfully, but these errors were encountered:
To implement Functions on SubDomains, the reference between
Grid
andSubDomain
must be reversed such thatSubDomain
s have a parentGrid
. However, to avoid breaking existing codes, the legacy API whereinSubDomain
s are passed toGrid
on instantiation must be retained. This creates a circular reference betweenGrid
andSubDomain
, preventing the cache from clearing. When the legacy API is removed,tests/test_caching.py::TestMemoryLeaks::test_solve
should be updated to reflect this.The text was updated successfully, but these errors were encountered: