Type promotion issue with SCCNonlinearProblem
in initialization
#3635
Labels
bug
Something isn't working
SCCNonlinearProblem
in initialization
#3635
Describe the bug 🐞
I'm trying to setup an optimization over a DAE solve that has a
SCCNonlinearProblem
in initialization and it's fully determined, but I'm getting aFloat64(::ForwardDiff.Dual...)
error from initialization.For some reason, it seems that
u0
is not promoted when usingSII.setsym_oop
. I'm not sure if that's expected or I'm missing something.Expected behavior
No errors.
Minimal Reproducible Example 👇
Without MRE, we would only be able to help you to a limited extent, and attention to the issue would be limited. to know more about MRE refer to wikipedia and stackoverflow.
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
I was trying to get a simpler MWE for #3634 and I stumbled over this one 😅
The text was updated successfully, but these errors were encountered: