summaryrefslogtreecommitdiff
path: root/boost/math/special_functions/detail/lgamma_small.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/special_functions/detail/lgamma_small.hpp')
-rw-r--r--boost/math/special_functions/detail/lgamma_small.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/boost/math/special_functions/detail/lgamma_small.hpp b/boost/math/special_functions/detail/lgamma_small.hpp
index 526a573583..ec28ed2adf 100644
--- a/boost/math/special_functions/detail/lgamma_small.hpp
+++ b/boost/math/special_functions/detail/lgamma_small.hpp
@@ -15,6 +15,14 @@
namespace boost{ namespace math{ namespace detail{
//
+// These need forward declaring to keep GCC happy:
+//
+template <class T, class Policy, class Lanczos>
+T gamma_imp(T z, const Policy& pol, const Lanczos& l);
+template <class T, class Policy>
+T gamma_imp(T z, const Policy& pol, const lanczos::undefined_lanczos& l);
+
+//
// lgamma for small arguments:
//
template <class T, class Policy, class Lanczos>