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

Fix constraint syntax

parent 86b9bc70
No related branches found
No related tags found
No related merge requests found
......@@ -106,8 +106,8 @@ function TrapezoidGradient(orientation=nothing, rise_time=nothing, flat_time=not
)
set_simple_constraints!(res, kwargs)
@constraint flat_time >= 0
@constraint rise_time >= 0
@constraint global_model() flat_time >= 0
@constraint global_model() 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