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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user