Fix signed/unsigned comparison.

This commit is contained in:
jzmaddock
2015-06-03 18:51:14 +01:00
parent 7f0e3b78c3
commit 2f9faea67d

View File

@@ -165,7 +165,7 @@ void hyp1F0(T& H1F0, const T& a, const T& x)
si_type n;
T term, part;
static const unsigned series_limit =
static const si_type series_limit =
boost::multiprecision::detail::digits2<number<T, et_on> >::value < 100
? 100 : boost::multiprecision::detail::digits2<number<T, et_on> >::value;
// Series expansion of hyperg_1f0(a; ; x).