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

Add missing `variables.`

parent 8a26cab9
No related branches found
No related tags found
1 merge request!2Define variables through new @defvar macro
......@@ -54,7 +54,7 @@ function BuildingBlock(pulseq::PulseqBlock; version, BlockDurationRaster, Radiof
grads = [pulseq.gx, pulseq.gy, pulseq.gz]
min_duration = max(
maximum(e[1] + duration(e[2]) for e in events; init=0.),
maximum(e[1] + variables.duration(e[2]) for e in events; init=0.),
maximum(vcat(_control_times.(grads, GradientRasterTime)...); init=0.)
)
......
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