@@ -219,7 +219,7 @@ function compareAllVariables(fgA::G1,
219
219
220
220
# compare each variable is the same in both A and B
221
221
for var in vars
222
- TP = TP && compareVariable (DFG . getVariable (fgA, var), DFG . getVariable (fgB, var), skipsamples= skipsamples, skip= skip)
222
+ TP = TP && compareVariable (getVariable (fgA, var), getVariable (fgB, var), skipsamples= skipsamples, skip= skip)
223
223
end
224
224
225
225
# return comparison result
@@ -254,7 +254,7 @@ function compareSimilarVariables(fgA::G1,
254
254
# compare the common set
255
255
for var in xlAB
256
256
@info var
257
- TP &= compareVariable (DFG . getVariable (fgA, var), DFG . getVariable (fgB, var), skipsamples= skipsamples, skip= skip)
257
+ TP &= compareVariable (getVariable (fgA, var), getVariable (fgB, var), skipsamples= skipsamples, skip= skip)
258
258
end
259
259
260
260
# return comparison result
@@ -285,7 +285,7 @@ function compareSimilarFactors(fgA::G1,
285
285
286
286
# compare the common set
287
287
for var in xlAB
288
- TP = TP && compareFactor (DFG . getFactor (fgA, var), getFactor (fgB, var), skipsamples= skipsamples, skipcompute= skipcompute, show= show)
288
+ TP = TP && compareFactor (getFactor (fgA, var), getFactor (fgB, var), skipsamples= skipsamples, skipcompute= skipcompute, show= show)
289
289
end
290
290
291
291
# return comparison result
0 commit comments