We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa67ea8 commit c4a050fCopy full SHA for c4a050f
include/ignition/math/detail/Ellipsoid.hh
@@ -96,7 +96,7 @@ std::optional< MassMatrix3<T> > Ellipsoid<T>::MassMatrix() const
96
template<typename T>
97
T Ellipsoid<T>::Volume() const
98
{
99
- constexpr T kFourThirdsPi = 4. * IGN_PI / 3.;
+ const T kFourThirdsPi = 4. * IGN_PI / 3.;
100
return kFourThirdsPi * this->radii.X() * this->radii.Y() * this->radii.Z();
101
}
102
0 commit comments