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
Fix FunctionOperator copy method to handle nothing values
The FunctionOperator copy method was attempting to copy L.u and deepcopy L.p
even when they were nothing, which causes errors. This fixes the copy method
to check if the values are nothing before attempting to copy them.
Changes:
- Check L.u !== nothing before calling copy(L.u)
- Check L.p !== nothing before calling deepcopy(L.p)
This prevents MethodError when copying FunctionOperators with nothing
values for u or p parameters.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments