Skip to content

Commit d1b827d

Browse files
minor change
1 parent 21ec5ed commit d1b827d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/optimization/optimizationsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function DiffEqBase.OptimizationProblem{iip}(sys::OptimizationSystem, u0map,
304304
if isnothing(lcons) && isnothing(ucons) # use the symbolically specified bounds
305305
lcons = lcons_
306306
ucons = ucons_
307-
else # use the user supplied variable bounds
307+
else # use the user supplied constraints bounds
308308
!isnothing(lcons) && length(lcons) != length(cstr) &&
309309
throw(ArgumentError("Expected both `lcons` to be of the same length as the vector of constraints"))
310310
!isnothing(ucons) && length(ucons) != length(cstr) &&

0 commit comments

Comments
 (0)