Skip to content

Commit

Permalink
Remove unique! call in discretize
Browse files Browse the repository at this point in the history
  • Loading branch information
pvillacorta committed Dec 10, 2024
1 parent a3f66ce commit df42cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KomaMRIBase/src/datatypes/simulation/DiscreteSequence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ based on simulation parameters.
"""
function discretize(seq::Sequence; sampling_params=default_sampling_params(), add_times=[])
t, Δt = get_variable_times(seq; Δt=sampling_params["Δt"], Δt_rf=sampling_params["Δt_rf"])
sort!(unique!(append!(t, add_times)))
sort!(append!(t, add_times))
B1, Δf = get_rfs(seq, t)
Gx, Gy, Gz = get_grads(seq, t)
tadc = get_adc_sampling_times(seq)
Expand Down

0 comments on commit df42cfd

Please sign in to comment.