Skip to content

Commit 5480522

Browse files
committed
fix: add missing line
1 parent 901525e commit 5480522

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

bindings/pyc3/c3_multibody_py.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ PYBIND11_MODULE(multibody, m) {
9292
}
9393
} // namespace pyc3
9494
} // namespace multibody
95-
} // namespace c3
95+
} // namespace c3

multibody/test/multibody_test.cc

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,9 @@ GTEST_TEST(GeomGeomColliderTest, SphereMeshDistance) {
402402
GeomGeomCollider<double> collider(plant, geom_pair);
403403
auto [distance_no_contact, J] = collider.EvalPolytope(context, 1);
404404

405-
<<<<<<< Updated upstream
406-
EXPECT_NEAR(
407-
distance_no_contact,
408-
NO_CONTACT_HEIGHT - MESH_HEIGHT - SPHERE_RADIUS, 1e-2); // Expected distance
405+
EXPECT_NEAR(distance_no_contact,
406+
NO_CONTACT_HEIGHT - MESH_HEIGHT - SPHERE_RADIUS,
407+
1e-2); // Expected distance
409408
EXPECT_EQ(J.rows(), 3);
410409
=======
411410
EXPECT_NEAR(distance_no_contact,
@@ -426,12 +425,8 @@ GTEST_TEST(GeomGeomColliderTest, SphereMeshDistance) {
426425
auto [distance_contact, J_contact] =
427426
collider_contact.EvalPolytope(context, 1);
428427

429-
<<<<<<< Updated upstream
430-
EXPECT_NEAR(distance_contact, -MESH_HEIGHT, 1e-2); // Expect penetration or zero distance
431-
=======
432428
EXPECT_NEAR(distance_contact, -MESH_HEIGHT,
433-
1e-2); // Negative distance indicates penetration
434-
>>>>>>> Stashed changes
429+
1e-2); // Expect penetration or zero distance
435430
EXPECT_EQ(J_contact.rows(), 3);
436431
EXPECT_EQ(J_contact.cols(), plant.num_velocities());
437432
EXPECT_TRUE(J_contact.allFinite());

0 commit comments

Comments
 (0)