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

Fix order of blocks and waits in Repeat

parent a222c5a5
No related branches found
No related tags found
1 merge request!10Add Magnetisation transfer sequence
......@@ -30,7 +30,7 @@ function Repeat(block::AbstractBlock; wait_time=nothing, nrepeat=nothing, variab
end
function get_index_single_TR(r::Repeat, i::Integer)
if iszero(i % 2)
if isone(i % 2)
return r.block
else
return Wait(r.wait_time)
......
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