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

Do not bump event time for no reason

parent 152621b8
No related branches found
No related tags found
No related merge requests found
......@@ -266,7 +266,6 @@ function BuildingBlock(waveform::AbstractVector, events::AbstractVector; orienta
zero_grad = isnothing(orientation) ? zeros(3) : 0.
if length(waveform) == 0 || waveform[1][1] > 0.
pushfirst!(waveform, (0., zero_grad))
events = [(i+1, e) for (i, e) in events]
end
components = Union{GradientWaveform, Tuple{Number, EventComponent}}[]
......
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