Skip to content

Commit d927e04

Browse files
Update src/systems/optimization/constraints_system.jl
1 parent 4047e4d commit d927e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/optimization/constraints_system.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ function get_cmap(sys::ConstraintsSystem, exprs = nothing)
233233
cs = [cs; collect_constants(get_substitutions(sys).subs)]
234234
end
235235
if exprs !== nothing
236-
cs = [cs; collect_contants(exprs)]
236+
cs = [cs; collect_constants(exprs)]
237237
end
238238
# Swap constants for their values
239239
cmap = map(x -> x ~ getdefault(x), cs)

0 commit comments

Comments
 (0)