Skip to content

Commit

Permalink
Simplify OptimizationResults(istate)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Sep 9, 2019
1 parent cc594a8 commit d6a6d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multivariate/optimize/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function OptimizationResults(istate::IteratorState)
Tf = typeof(value(d))
f_incr_pick = f_increased && !options.allow_f_increases

T = (_tmp(::Options{T}) where T = T)(options)
T = typeof(options.x_abstol)
Tx = typeof(initial_x)

return MultivariateOptimizationResults{typeof(method),T,Tx,typeof(x_abschange(state)),Tf,typeof(tr), Bool}(method,
Expand Down

0 comments on commit d6a6d75

Please sign in to comment.