SciML / OptimizationBase.jl

The base package for Optimization.jl, containing the structs and basic functions for it.
MIT License
14 stars 6 forks source link

UndefVarError in OptimizationForwardDiffExt.jl #48

Closed fjebaker closed 4 months ago

fjebaker commented 4 months ago

Every so often I hit

ERROR: UndefVarError: `x` not defined.

Unfortunately my code is too large to boil down to a MWE, but the cause is clear:

https://github.com/SciML/OptimizationBase.jl/blob/ba54a1f45360c4eb0346c9831c59a278b6d58044/ext/OptimizationForwardDiffExt.jl#L261

Expected behavior

x should be defined

Vaibhavdixit02 commented 4 months ago

Which solver are you using out-of-place with though?

fjebaker commented 4 months ago

I was using IPNewton