Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Warnings #795

Merged
merged 13 commits into from
Jul 3, 2022
Merged
4 changes: 2 additions & 2 deletions include/boost/math/concepts/real_type_concept.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ template <class RealType>
struct RealTypeConcept
{
template <class Other>
void check_binary_ops(Other o)
void check_binary_ops(Other o) const
{
RealType r(o);
r = o;
Expand Down Expand Up @@ -100,7 +100,7 @@ struct RealTypeConcept
r2 = asin(r);
r2 = acos(r);
r2 = atan(r);
int i;
int i {};
r2 = ldexp(r, i);
r2 = frexp(r, &i);
i = boost::math::tools::digits<RealType>();
Expand Down
Loading