diff --git a/src/optsummary.jl b/src/optsummary.jl index dc3c7bfe8..74ab05e89 100644 --- a/src/optsummary.jl +++ b/src/optsummary.jl @@ -61,10 +61,10 @@ end function OptSummary( initial::Vector{T}, lowerbd::Vector{S}, - optimizer::Symbol=:LN_BOBYQA; kwargs... -) where {T<:AbstractFloat, S<:AbstractFloat} + optimizer::Symbol=:LN_BOBYQA; kwargs..., +) where {T<:AbstractFloat,S<:AbstractFloat} TS = promote_type(T, S) - return OptSummary{TS}( ; initial, lowerbd, optimizer, kwargs...) + return OptSummary{TS}(; initial, lowerbd, optimizer, kwargs...) end """