From 4fc0cce04f63777d320c7e15fc69ead51a9e81f0 Mon Sep 17 00:00:00 2001 From: mitiguy Date: Wed, 9 Oct 2024 13:32:11 -0700 Subject: [PATCH] Respond to review comments. --- multibody/tree/geometry_spatial_inertia.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/multibody/tree/geometry_spatial_inertia.cc b/multibody/tree/geometry_spatial_inertia.cc index 419547208add..6afbb1162859 100644 --- a/multibody/tree/geometry_spatial_inertia.cc +++ b/multibody/tree/geometry_spatial_inertia.cc @@ -2,7 +2,6 @@ #include #include -#include #include #include @@ -157,9 +156,9 @@ SpatialInertia CalcSpatialInertia( // the issue (ideally with Sean's input/expertise). const std::string error_message = fmt::format( "{}(): The calculated volume of a triangle surface mesh is {} whereas " - "a reasonable positive value of {} was expected. The mesh may have bad " - "geometry, e.g., it is an open mesh or the winding (order of vertices) " - "of at least one face does not produce an outward normal.", + "a reasonable positive value of at least {} was expected. The mesh may " + "have bad geometry, e.g., it is an open mesh or the winding (order of " + "vertices) of at least one face does not produce an outward normal.", __func__, volume, kEpsilon); throw std::logic_error(error_message); }