Skip to content
Snippets Groups Projects
Unverified Commit 81d3e54e authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fix typo in function call name

parent 2bb13c09
No related branches found
No related tags found
1 merge request!4Resolve "Add secondary objective function"
Pipeline #24963 passed
...@@ -248,10 +248,10 @@ function LineReadout(adc::ADC; ramp_overlap=nothing, orientation=nothing, group= ...@@ -248,10 +248,10 @@ function LineReadout(adc::ADC; ramp_overlap=nothing, orientation=nothing, group=
) )
set_simple_constraints!(res, vars) set_simple_constraints!(res, vars)
if !(res.ramp_overlap isa Number) if !(res.ramp_overlap isa Number)
add_simple_constraint!(res.ramp_overlap, :>=, 0.) apply_simple_constraint!(res.ramp_overlap, :>=, 0.)
add_simple_constraint!(res.ramp_overlap, :<=, 1.) apply_simple_constraint!(res.ramp_overlap, :<=, 1.)
end end
add_simple_constraint!( apply_simple_constraint!(
res.ramp_overlap * variables.rise_time(res.trapezoid) * 2 + variables.flat_time(res.trapezoid), res.ramp_overlap * variables.rise_time(res.trapezoid) * 2 + variables.flat_time(res.trapezoid),
variables.duration(res.adc) variables.duration(res.adc)
) )
......
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