Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti and azeey authored May 16, 2024
1 parent 55aeae7 commit a6d087c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Geometry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ std::optional<gz::math::Inertiald> Geometry::CalculateInertial(
geomInertial = this->dataPtr->capsule->CalculateInertial(_density);
break;
case GeometryType::CONE:
geomInertial = this->dataPtr->capsule->CalculateInertial(_density);
geomInertial = this->dataPtr->cone->CalculateInertial(_density);
break;
case GeometryType::CYLINDER:
geomInertial = this->dataPtr->cylinder->CalculateInertial(_density);
Expand Down

0 comments on commit a6d087c

Please sign in to comment.