File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ Base.@kwdef mutable struct PackedVariableNodeData
120
120
solveInProgress:: Int
121
121
solvedCount:: Int
122
122
solveKey:: Symbol
123
- covar:: Vector{Float64}
123
+ covar:: Vector{Vector{ Float64} }
124
124
_version:: String = string (_getDFGVersion ())
125
125
end
126
126
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ function packVariableNodeData(d::VariableNodeData{T}) where {T <: InferenceVaria
95
95
d. solveInProgress,
96
96
d. solvedCount,
97
97
d. solveKey,
98
+ vec .(d. covar),
98
99
string (_getDFGVersion ()))
99
100
end
100
101
@@ -125,7 +126,7 @@ function unpackVariableNodeData(d::PackedVariableNodeData)
125
126
id = d. id,
126
127
val = vals,
127
128
bw = BW,
128
- # covar = # FIXME serialize covar
129
+ covar = d . covar,
129
130
BayesNetOutVertIDs = Symbol .(d. BayesNetOutVertIDs),
130
131
dimIDs = d. dimIDs,
131
132
dims = d. dims,
You can’t perform that action at this time.
0 commit comments