We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 561699d + 20de7b2 commit 2c62a8eCopy full SHA for 2c62a8e
lib/OptimizationEvolutionary/src/OptimizationEvolutionary.jl
@@ -90,7 +90,7 @@ function SciMLBase.__solve(cache::OptimizationCache{
90
u = curr_u,
91
objective = x[1],
92
original = trace)
93
- cb_call = cache.callback(opt_state, trace.value...)
+ cb_call = cache.callback(opt_state, decompose_trace(trace).value...)
94
if !(cb_call isa Bool)
95
error("The callback should return a boolean `halt` for whether to stop the optimization process.")
96
end
0 commit comments