diff --git a/src/components/abstract_types.jl b/src/components/abstract_types.jl index 3aeb6835bf9b5f0634a245fe3786aa5b75677f94..bce65c9dde95c6afcb23a56ec69e3d7af1a3757e 100644 --- a/src/components/abstract_types.jl +++ b/src/components/abstract_types.jl @@ -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 diff --git a/src/components/readouts/readouts.jl b/src/components/readouts/readouts.jl index 7271159ec7a798abac6c95320408584554531dc7..b229e4c32c4c2e9a93dabfec880efa67fd74a039 100644 --- a/src/components/readouts/readouts.jl +++ b/src/components/readouts/readouts.jl @@ -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