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

Fix final amplitude to be 0

parent cc85b512
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ function SinglePlotLine(control_points::AbstractVector{<:Tuple}, duration::Numbe ...@@ -28,7 +28,7 @@ function SinglePlotLine(control_points::AbstractVector{<:Tuple}, duration::Numbe
end end
if times[end] < duration if times[end] < duration
push!(times, duration) push!(times, duration)
push!(amplitudes, duration) push!(amplitudes, 0.)
end end
return SinglePlotLine(times, amplitudes, [], []) return SinglePlotLine(times, amplitudes, [], [])
end 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