Skip to content

Commit

Permalink
help constant prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Feb 21, 2021
1 parent 85e8b60 commit 803642d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solutions/optimization_solutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function Base.show(io::IO, A::AbstractOptimizationSolution)
end

Base.@propagate_inbounds function Base.getproperty(x::AbstractOptimizationSolution,s::Symbol)
if s == :minimizer
if s === :minimizer
return getfield(x,:u)
end
return getfield(x,s)
Expand Down

0 comments on commit 803642d

Please sign in to comment.