Creating of OptimizationSystem
with registered function traces
#3473
Labels
bug
Something isn't working
OptimizationSystem
with registered function traces
#3473
MWE:
This line in the
OptimizationSystem
constructor callssubstitute
withfold = true
by default and no way to change it:ModelingToolkit.jl/src/systems/optimization/optimizationsystem.jl
Line 117 in 5691fa3
and this ends up tracing.
Error & Stacktrace⚠️
Note that this traced into the
eigvals
call.One can also look at:
yet, if
fold = false
it doesn't trace as expected:A proposed fix is for
OptimizationSystem
to expose thefold
kwarg?Environment (please complete the following information):
using Pkg; Pkg.status()
The text was updated successfully, but these errors were encountered: