]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/math/quadrature/exp_sinh.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / math / quadrature / exp_sinh.hpp
index 8d4290ebd29bec4bc9dded422f3e5532f77f5d4d..d9a5e901732d1db26c1017e77f0e89faca1a6d7e 100644 (file)
@@ -62,13 +62,13 @@ auto exp_sinh<Real, Policy>::integrate(const F& f, Real a, Real b, Real toleranc
         {
             return m_imp->integrate(f, error, L1, function, tolerance, levels);
         }
-        const auto u = [&](Real t)->Real { return f(t + a); };
+        const auto u = [&](Real t)->K { return f(t + a); };
         return m_imp->integrate(u, error, L1, function, tolerance, levels);
     }
 
     if ((boost::math::isfinite)(b) && a <= -boost::math::tools::max_value<Real>())
     {
-        const auto u = [&](Real t)->Real { return f(b-t);};
+        const auto u = [&](Real t)->K { return f(b-t);};
         return m_imp->integrate(u, error, L1, function, tolerance, levels);
     }