Skip to content

Commit 42474ca

Browse files
Update lib/OptimizationNLopt/src/OptimizationNLopt.jl
1 parent 6d19cef commit 42474ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OptimizationNLopt/src/OptimizationNLopt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function SciMLBase.requireshessian(opt::Union{NLopt.Algorithm, NLopt.Opt}) #http
4444
string(opt.algorithm)
4545
end
4646

47-
if str_opt[2] == 'N' || occursin('LD_LBFGS', str_opt) || occursin('LD_SLSQP', str_opt)
47+
if str_opt[2] == 'N' || occursin("LD_LBFGS", str_opt) || occursin("LD_SLSQP", str_opt)
4848
return false
4949
else
5050
return true

0 commit comments

Comments
 (0)