Skip to content

Commit

Permalink
Merge pull request #2 from jonathanfischer97/dev
Browse files Browse the repository at this point in the history
Fix store_trace=true bug. Test added that should fail on current origin master but pass now.
  • Loading branch information
jonathanfischer97 authored Feb 2, 2024
2 parents eef6558 + 985184b commit 661bcf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/OptimizationEvolutionary/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ Random.seed!(1234)
return false
end
sol = solve(prob, CMAES= 40, λ = 100), callback = cb, maxiters = 100)

#test that `store_trace=true` works now. Threw ""type Array has no field value" before.
solve(prob, CMAES= 40, λ = 100), store_trace = true)
end

0 comments on commit 661bcf5

Please sign in to comment.