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
{{ message }}
Repository navigation
MethodError: no method matching get_fu(::Vector{Float64}) #779
Root cause: PR #773 correctly changed line 386 to use get_fu(cache) to extract residuals, but line 391 still called findmin_caches(cache.prob, fus). Since fus now contains residual vectors (not cache objects), and findmin_caches internally calls get_fu() on each element, this caused the MethodError: no method matching get_fu(::Vector{Float64}).
Fix: Changed line 391 to use findmin_resids(cache.prob, fus) directly since we already have the residual vectors.
Activity
jstrubeAtWork commentedon Jan 11, 2026
Error & Stacktrace⚠️
ChrisRackauckas commentedon Jan 12, 2026
Interesting, it shouldn't be a vector 😅
jstrubeAtWork commentedon Jan 12, 2026
hmm. You may have to put the MRE in a notebook cell and execute it multiple times to reproduce.
fix: use findmin_resids for residual vectors in polyalgorithm solve (S…
ChrisRackauckas-Claude commentedon Jan 12, 2026
PR #780 has been created to fix this issue.
Root cause: PR #773 correctly changed line 386 to use
get_fu(cache)to extract residuals, but line 391 still calledfindmin_caches(cache.prob, fus). Sincefusnow contains residual vectors (not cache objects), andfindmin_cachesinternally callsget_fu()on each element, this caused theMethodError: no method matching get_fu(::Vector{Float64}).Fix: Changed line 391 to use
findmin_resids(cache.prob, fus)directly since we already have the residual vectors.jstrubeAtWork commentedon Jan 12, 2026
Seems to do it for me. Thank you!
test: add regression test for issue SciML#779
fix: use findmin_resids for residual vectors in polyalgorithm solve (#…
Fix reinit! resetting LinearSolveParameters to a Missing p-type (#1008)