Skip to content

Commit 4959003

Browse files
committed
formatting
1 parent 101ad78 commit 4959003

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/serialization/StateSerialization.jl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function unpackOldState(d)
112112
# Figuring out the variableType
113113
statekind = parseStateKind(d.variableType)
114114
T = typeof(statekind)
115-
115+
116116
r3 = d.dimval
117117
c3 = r3 > 0 ? floor(Int, length(d.vecval) / r3) : 0
118118
M3 = reshape(d.vecval, r3, c3)
@@ -131,8 +131,12 @@ function unpackOldState(d)
131131
label = Symbol(d.solveKey)
132132
!isempty(d.covar) && error("covar field is not supported")
133133
if label == :parametric
134-
belief =
135-
BeliefRepresentation(GaussianDensityKind(), statekind; means = vals, covariances = [BW])
134+
belief = BeliefRepresentation(
135+
GaussianDensityKind(),
136+
statekind;
137+
means = vals,
138+
covariances = [BW],
139+
)
136140
else
137141
belief = BeliefRepresentation(
138142
NonparametricDensityKind(),

0 commit comments

Comments
 (0)