Skip to content

Commit

Permalink
Update src/retcodes.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 authored Aug 9, 2023
1 parent 4915975 commit e7e2ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/retcodes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ function successful_retcode(retcode::ReturnCode.T)
end
successful_retcode(sol::AbstractSciMLSolution) = successful_retcode(sol.retcode)

function successful_retcoe(sol::OptimizationSolution)
function successful_retcode(sol::OptimizationSolution)
retcode == ReturnCode.Success || retcode == ReturnCode.Terminated ||
retcode == ReturnCode.ExactSolutionLeft ||
retcode == ReturnCode.ExactSolutionRight ||
Expand Down

0 comments on commit e7e2ce6

Please sign in to comment.