summaryrefslogtreecommitdiff
path: root/boost/math/special_functions/detail/bessel_kn.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/special_functions/detail/bessel_kn.hpp')
-rw-r--r--boost/math/special_functions/detail/bessel_kn.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/math/special_functions/detail/bessel_kn.hpp b/boost/math/special_functions/detail/bessel_kn.hpp
index e3a5023..54c4a1c 100644
--- a/boost/math/special_functions/detail/bessel_kn.hpp
+++ b/boost/math/special_functions/detail/bessel_kn.hpp
@@ -45,16 +45,16 @@ T bessel_kn(int n, T x, const Policy& pol)
}
if (n == 0)
{
- value = bessel_k0(x, pol);
+ value = bessel_k0(x);
}
else if (n == 1)
{
- value = bessel_k1(x, pol);
+ value = bessel_k1(x);
}
else
{
- prev = bessel_k0(x, pol);
- current = bessel_k1(x, pol);
+ prev = bessel_k0(x);
+ current = bessel_k1(x);
int k = 1;
BOOST_ASSERT(k < n);
T scale = 1;