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

Use flags in `InstantRFPulseBlock` constructor

parent 63337f09
No related branches found
No related tags found
No related merge requests found
Pipeline #22747 failed
......@@ -11,7 +11,7 @@ struct InstantRFPulseBlock <: RFPulseBlock
scale :: Union{Nothing, Symbol}
end
function InstantRFPulseBlock(flip_angle=nothing, phase=nothing, scale=nothing)
function InstantRFPulseBlock(; flip_angle=nothing, phase=nothing, scale=nothing)
res = InstantRFPulseBlock(
get_free_variable(flip_angle),
get_free_variable(phase),
......
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