Skip to content

Commit b58a649

Browse files
Apply suggestions from code review
1 parent fccd349 commit b58a649

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/OptimizationEvolutionary/src/OptimizationEvolutionary.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ SciMLBase.supports_opt_cache_interface(opt::Evolutionary.AbstractOptimizer) = tr
1111
decompose_trace(trace::Evolutionary.OptimizationTrace) = last(trace)
1212
decompose_trace(trace::Evolutionary.OptimizationTraceRecord) = trace
1313

14-
# function Evolutionary.trace!(record::Dict{String, Any}, objfun, state, population,
15-
# method::Evolutionary.AbstractOptimizer, options)
16-
# record["x"] = population
17-
# end
1814

1915
# Overload the trace! function to add the population to the trace prior to calling any user-defined trace! method
2016
function Evolutionary.trace!(tr, iteration, objfun, state, population, method::Evolutionary.AbstractOptimizer, options, curr_time=time())

0 commit comments

Comments
 (0)