2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Correct Lambert_w policy forwarding.

This commit is contained in:
jzmaddock
2020-07-20 14:33:23 +01:00
parent 0aa86c3076
commit 797b82df2f

View File

@@ -1006,8 +1006,8 @@ inline T do_get_near_singularity_param(T z)
template <class T, class Policy>
inline T get_near_singularity_param(T z, const Policy)
{
typedef typename policies::precision<T, Policy>::type precision_type;
return static_cast<T>(get_near_singularity_param((precision_type)z));
typedef typename policies::evaluation<T, Policy>::type value_type;
return static_cast<T>(do_get_near_singularity_param(static_cast<value_type>(z)));
}
// Forward declarations: