Skip to content

Commit

Permalink
Merge pull request #795 from mborland/warn
Browse files Browse the repository at this point in the history
Cleanup Warnings
  • Loading branch information
jzmaddock authored Jul 3, 2022
2 parents 1cbf7e2 + 0569685 commit bc57596
Show file tree
Hide file tree
Showing 14 changed files with 986 additions and 906 deletions.
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

0 comments on commit bc57596

Please sign in to comment.