summaryrefslogtreecommitdiff
path: root/boost/math/common_factor_rt.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/common_factor_rt.hpp')
-rw-r--r--boost/math/common_factor_rt.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/math/common_factor_rt.hpp b/boost/math/common_factor_rt.hpp
index 42320b62c2..acde21d2c8 100644
--- a/boost/math/common_factor_rt.hpp
+++ b/boost/math/common_factor_rt.hpp
@@ -259,7 +259,7 @@ namespace detail
//
// The Mixed Binary Euclid Algorithm
// Sidi Mohamed Sedjelmaci
- // Electronic Notes in Discrete Mathematics 35 (2009) 169–176
+ // Electronic Notes in Discrete Mathematics 35 (2009) 169-176
//
template <class T>
T mixed_binary_gcd(T u, T v)
@@ -275,7 +275,7 @@ namespace detail
if(!v)
return u;
- shifts = std::min(gcd_traits<T>::make_odd(u), gcd_traits<T>::make_odd(v));
+ shifts = (std::min)(gcd_traits<T>::make_odd(u), gcd_traits<T>::make_odd(v));
while(gcd_traits<T>::less(1, v))
{
@@ -319,7 +319,7 @@ namespace detail
gcd_traits<SteinDomain>::make_odd(m);
}
// m == n
- m <<= std::min(d_m, d_n);
+ m <<= (std::min)(d_m, d_n);
return m;
}