@@ -20,8 +20,6 @@ Fields:
2020$(TYPEDFIELDS)
2121"""
2222Base. @kwdef mutable struct VariableState{T <: InferenceVariable , P, N}
23- " DEPRECATED remove in DFG v0.22"
24- variableType:: T = T () # tricky deprecation, also change covar to using N and not variableType
2523 """
2624 Globally unique identifier.
2725 """
@@ -36,11 +34,11 @@ Base.@kwdef mutable struct VariableState{T <: InferenceVariable, P, N}
3634 bw:: Matrix{Float64} = zeros (0 , 0 )
3735 " Parametric (Gaussian) covariance."
3836 covar:: Vector{SMatrix{N, N, Float64}} =
39- SMatrix{getDimension (variableType ), getDimension (variableType ), Float64}[]
37+ SMatrix{getDimension (T ), getDimension (T ), Float64}[]
4038 BayesNetOutVertIDs:: Vector{Symbol} = Symbol[]
4139 dimIDs:: Vector{Int} = Int[] # TODO Likely deprecate
4240
43- dims:: Int = getDimension (variableType ) # TODO should we deprecate in favor of N
41+ dims:: Int = getDimension (T ) # TODO should we deprecate in favor of N
4442 """
4543 Flag used by junction (Bayes) tree construction algorithm to know whether this variable has yet been included in the tree construction.
4644 """
@@ -54,7 +52,7 @@ Base.@kwdef mutable struct VariableState{T <: InferenceVariable, P, N}
5452 """
5553 Stores the amount information (per measurement dimension) captured in each coordinate dimension.
5654 """
57- infoPerCoord:: Vector{Float64} = zeros (getDimension (variableType ))
55+ infoPerCoord:: Vector{Float64} = zeros (getDimension (T ))
5856 """
5957 Should this variable solveKey be treated as marginalized in inference computations.
6058 """
0 commit comments