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

Fix split_timestep for tuple and readout

parent e7c6b33b
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,6 @@ Typically, this will be determined by the maximum second derivative:
It should be infinite if the component is linear.
"""
function split_timestep end
split_timestep(comp_tuple::Tuple{<:Number, <:EventComponent}, precision::Number) = split_timestep(comp_tuple[2], precision)
end
\ No newline at end of file
......@@ -6,5 +6,5 @@ import ..AbstractTypes: ReadoutComponent, split_timestep
import .ADCs: ADC, readout_times
import .SingleReadouts: SingleReadout
split_times(rc::ReadoutComponent, precision) = Inf
split_timestep(rc::ReadoutComponent, precision) = Inf
end
\ No newline at end of file
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