@@ -35,15 +35,15 @@ TestFunctorInferenceType1() = TestFunctorInferenceType1(TestBelief())
3535TestFunctorInferenceType2 () = TestFunctorInferenceType2 (TestBelief ())
3636TestAbstractPrior () = TestAbstractPrior (TestBelief ())
3737
38- struct PackedNothingDistribution <: AbstractPackedBelief
39- _type:: Symbol
40- function PackedNothingDistribution (; _type:: String = " PackedNothingDistribution" )
41- return new (Symbol (_type))
42- end
43- end
38+ # struct PackedNothingDistribution <: AbstractPackedBelief
39+ # _type::Symbol
40+ # function PackedNothingDistribution(; _type::String = "PackedNothingDistribution")
41+ # return new(Symbol(_type))
42+ # end
43+ # end
4444
45- DFG. packDistribution (:: Nothing ) = PackedNothingDistribution ()
46- DFG. unpackDistribution (:: PackedNothingDistribution ) = nothing
45+ # DFG.packDistribution(::Nothing) = PackedNothingDistribution()
46+ # DFG.unpackDistribution(::PackedNothingDistribution) = nothing
4747
4848struct TestCCW{T <: AbstractObservation } <: FactorCache
4949 usrfnc!:: T
@@ -1357,16 +1357,8 @@ function Summaries(testDFGAPI)
13571357 # Check all fields are equal for all variables
13581358 for v in ls (summaryGraph)
13591359 for field in variableFields
1360- if field != :variableTypeName
1361- @test getproperty (getVariable (dfg, v), field) ==
1362- getproperty (getVariable (summaryGraph, v), field)
1363- else
1364- # Special case to check the symbol variableType is equal to the full variableType.
1365- @test Symbol (typeof (getVariableType (getVariable (dfg, v)))) ==
1366- getVariableTypeName (getVariable (summaryGraph, v))
1367- @test getVariableType (getVariable (dfg, v)) ==
1368- getVariableType (getVariable (summaryGraph, v))
1369- end
1360+ @test getproperty (getVariable (dfg, v), field) ==
1361+ getproperty (getVariable (summaryGraph, v), field)
13701362 end
13711363 end
13721364 for f in lsf (summaryGraph)
0 commit comments