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

Fix constraints on flat and rise time

parent cafab661
No related branches found
No related tags found
No related merge requests found
......@@ -91,8 +91,8 @@ function PulsedGradient(model::Model; orientation=nothing, rise_time=nothing, fl
)
set_simple_constraints!(model, res, kwargs)
@constraint model res.flat_time >= 0
@constraint model res.rise_time >= 0
@constraint model flat_time >= 0
@constraint model rise_time >= 0
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