Skip to content
Snippets Groups Projects
Verified Commit 937e9fa1 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fix constraint setting

parent b0d93fc8
No related branches found
No related tags found
No related merge requests found
......@@ -89,8 +89,8 @@ function (::Type{Trapezoid})(; orientation=nothing, rise_time=nothing, flat_time
set_simple_constraints!(res, kwargs)
@constraint global_model() flat_time >= 0
@constraint global_model() rise_time >= 0
@constraint global_model() res.flat_time >= 0
@constraint global_model() res.rise_time >= 0
scanner_constraints!(res)
return res
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment