@@ -51,7 +51,7 @@ DevNotes
5151- TODO does not handle timezone crossing properly yet.
5252"""
5353function _calcTimespan (
54- Xi:: AbstractVector{<:DFGVariable }
54+ Xi:: AbstractVector{<:VariableCompute }
5555)
5656 #
5757 tsmps = getTimestamp .(Xi[1 : 2 ]) .| > DateTime .| > datetime2unix
@@ -60,13 +60,13 @@ function _calcTimespan(
6060end
6161# Notes
6262# - Can change numerical data return type using an additional first argument, `_calcTimespan(Float32, Xi)`.
63- # _calcTimespan(Xi::AbstractVector{<:DFGVariable }) = _calcTimespan(Float64, Xi)
63+ # _calcTimespan(Xi::AbstractVector{<:VariableCompute }) = _calcTimespan(Float64, Xi)
6464
6565# performance helper function, FIXME not compatible with all multihypo cases
6666_maketuplebeyond2args = (w1 = nothing , w2 = nothing , w3_... ) -> (w3_... ,)
6767
6868function DERelative (
69- Xi:: AbstractVector{<:DFGVariable } ,
69+ Xi:: AbstractVector{<:VariableCompute } ,
7070 domain:: Type{<:VariableStateType} ,
7171 f:: Function ,
7272 data = () -> ();
@@ -97,7 +97,7 @@ function DERelative(
9797 domain:: Type{<:VariableStateType} ,
9898 f:: Function ,
9999 data = () -> ();
100- Xi:: AbstractArray{<:DFGVariable } = getVariable .(dfg, labels),
100+ Xi:: AbstractArray{<:VariableCompute } = getVariable .(dfg, labels),
101101 dt:: Real = 1 ,
102102 state1:: AbstractVector{<:Real} = allocate (getPointIdentity (domain)), # zeros(getDimension(domain)),
103103 state0:: AbstractVector{<:Real} = allocate (getPointIdentity (domain)), # zeros(getDimension(domain)),
0 commit comments