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
This commit fixes the issue where using a Basis object obtained from DMD
or SINDy as the ODE function in ODEProblem would throw an error about
the 'observed' field not existing.
Changes:
- Added ModelingToolkit interface methods directly to src/basis/type.jl
- Implemented required AbstractSystem interface methods: equations, unknowns,
parameters, get_observed, get_iv, nameof
- Override getproperty to properly handle :observed field access (needed
because ModelingToolkit's getproperty for AbstractSystem tries to use
getvar which doesn't work for Basis)
- Override show method to fix display error related to namespacing flag
Fixes#552
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments