]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/math/interpolators/pchip.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / math / interpolators / pchip.hpp
index 3a37ddf67a65aaa44da5784b417cd476b2786eb5..e8919a9e4cf0aed42fbc80222f05d274a028e6f2 100644 (file)
@@ -9,7 +9,9 @@
 #include <memory>
 #include <boost/math/interpolators/detail/cubic_hermite_detail.hpp>
 
-namespace boost::math::interpolators {
+namespace boost {
+namespace math {
+namespace interpolators {
 
 template<class RandomAccessContainer>
 class pchip {
@@ -20,6 +22,7 @@ public:
           Real left_endpoint_derivative = std::numeric_limits<Real>::quiet_NaN(),
           Real right_endpoint_derivative = std::numeric_limits<Real>::quiet_NaN())
     {
+        using std::isnan;
         if (x.size() < 4)
         {
             throw std::domain_error("Must be at least four data points.");
@@ -116,4 +119,6 @@ private:
 };
 
 }
-#endif
\ No newline at end of file
+}
+}
+#endif