diff --git a/include/boost/math/special_functions/lambert_w.hpp b/include/boost/math/special_functions/lambert_w.hpp index 945a45895..5b0fbaf63 100644 --- a/include/boost/math/special_functions/lambert_w.hpp +++ b/include/boost/math/special_functions/lambert_w.hpp @@ -1267,10 +1267,8 @@ inline T lambert_w0_imp(T z, const Policy& pol, const std::integral_constant(function, "Expected z >= -e^-1 (-0.367879...) but got %1%.", z, pol); return -1; } - else // z < 0.05 - { - return lambert_w_negative_rational_float(z, pol); - } + + return lambert_w_negative_rational_float(z, pol); } // T lambert_w0_imp(T z, const Policy& pol, const std::integral_constant&) for 32-bit usually float. template