Skip to content

Commit

Permalink
fix printing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Sep 14, 2024
1 parent df78504 commit cfe2ad5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions gtsam/hybrid/tests/testHybridGaussianFactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ Hybrid [x1 x2; 1]{
]
b = [ 0 0 ]
No noise model
value: 0
1 Leaf :
A[x1] = [
Expand All @@ -142,7 +141,6 @@ value: 0
]
b = [ 0 0 ]
No noise model
value: 0
}
)";
Expand Down
10 changes: 1 addition & 9 deletions gtsam/hybrid/tests/testHybridNonlinearFactorGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ TEST(HybridFactorGraph, Full_Elimination) {

DiscreteFactorGraph discrete_fg;
// TODO(Varun) Make this a function of HybridGaussianFactorGraph?
for (auto& factor : (*remainingFactorGraph_partial)) {
for (auto &factor : (*remainingFactorGraph_partial)) {
auto df = dynamic_pointer_cast<DiscreteFactor>(factor);
assert(df);
discrete_fg.push_back(df);
Expand Down Expand Up @@ -526,7 +526,6 @@ Hybrid [x0 x1; m0]{
]
b = [ -1 ]
No noise model
value: 0
1 Leaf :
A[x0] = [
Expand All @@ -537,7 +536,6 @@ value: 0
]
b = [ -0 ]
No noise model
value: 0
}
factor 2:
Expand All @@ -553,7 +551,6 @@ Hybrid [x1 x2; m1]{
]
b = [ -1 ]
No noise model
value: 0
1 Leaf :
A[x1] = [
Expand All @@ -564,7 +561,6 @@ value: 0
]
b = [ -0 ]
No noise model
value: 0
}
factor 3:
Expand Down Expand Up @@ -613,7 +609,6 @@ Hybrid [x0 x1; m0]{
]
b = [ -1 ]
No noise model
value: 0
1 Leaf:
A[x0] = [
Expand All @@ -624,7 +619,6 @@ value: 0
]
b = [ -0 ]
No noise model
value: 0
}
factor 2:
Expand All @@ -639,7 +633,6 @@ Hybrid [x1 x2; m1]{
]
b = [ -1 ]
No noise model
value: 0
1 Leaf:
A[x1] = [
Expand All @@ -650,7 +643,6 @@ value: 0
]
b = [ -0 ]
No noise model
value: 0
}
factor 3:
Expand Down

0 comments on commit cfe2ad5

Please sign in to comment.