Skip to content

Commit 3f1f724

Browse files
committed
minor fixes needed downstream, bump v0.18.10
1 parent 52b4fb6 commit 3f1f724

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DistributedFactorGraphs"
22
uuid = "b5cc3c7e-6572-11e9-2517-99fb8daf2f04"
3-
version = "0.18.9"
3+
version = "0.18.10"
44

55
[deps]
66
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

src/services/CompareUtils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ function compareFactor(A::DFGFactor,
250250
if !TP || :fnc in skip
251251
return TP
252252
end
253-
TP = TP & compareAllSpecial(getSolverData(A).fnc, getSolverData(B).fnc, skip=union([:cpt;:measurement;:params;:varidx;:threadmodel;:_gradients], skip), show=show)
253+
TP = TP & compareAllSpecial(getSolverData(A).fnc, getSolverData(B).fnc, skip=union([:cpt;:measurement;:params;:varValsAll;:varidx;:threadmodel;:_gradients], skip), show=show)
254254
@debug "compareFactor 3/5" TP
255255
if !(:measurement in skip)
256256
TP = TP & (skipsamples || compareAll(getSolverData(A).fnc.measurement, getSolverData(B).fnc.measurement, show=show, skip=skip))

src/services/DFGVariable.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ function getDimension end
127127
getDimension(::Type{T}) where {T <: InferenceVariable} = manifold_dimension(getManifold(T))
128128
getDimension(::T) where {T <: InferenceVariable} = manifold_dimension(getManifold(T))
129129
getDimension(M::ManifoldsBase.AbstractManifold) = manifold_dimension(M)
130+
getDimension(p::Distributions.Distribution) = length(p)
130131
getDimension(var::DFGVariable) = getDimension(getVariableType(var))
131132

132-
133133
"""
134134
$SIGNATURES
135135
Interface function to return the manifold point type of an InferenceVariable, extend this function for all Types<:InferenceVariable.

0 commit comments

Comments
 (0)