Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions include/boost/math/special_functions/bessel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
#include <boost/math/tools/series.hpp>
#include <boost/math/tools/roots.hpp>

#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable: 6326) // potential comparison of a constant with another constant
#endif

namespace boost{ namespace math{

namespace detail{
Expand Down Expand Up @@ -754,6 +759,10 @@ inline OutputIterator cyl_neumann_zero(T v,
} // namespace math
} // namespace boost

#ifdef _MSC_VER
# pragma warning(pop)
#endif

#endif // BOOST_MATH_BESSEL_HPP


1 change: 1 addition & 0 deletions include/boost/math/special_functions/gamma.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
# pragma warning(disable: 4702) // unreachable code (return after domain_error throw).
# pragma warning(disable: 4127) // conditional expression is constant.
# pragma warning(disable: 4100) // unreferenced formal parameter.
# pragma warning(disable: 6326) // potential comparison of a constant with another constant
// Several variables made comments,
// but some difficulty as whether referenced on not may depend on macro values.
// So to be safe, 4100 warnings suppressed.
Expand Down