Skip to content

Commit

Permalink
Respond to review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitiguy committed Oct 9, 2024
1 parent d70d86c commit 4fc0cce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions multibody/tree/geometry_spatial_inertia.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <algorithm>
#include <filesystem>
#include <limits>
#include <memory>
#include <string>

Expand Down Expand Up @@ -157,9 +156,9 @@ SpatialInertia<double> 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);
}
Expand Down

0 comments on commit 4fc0cce

Please sign in to comment.