]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/numeric/odeint/algebra/multi_array_algebra.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / numeric / odeint / algebra / multi_array_algebra.hpp
index 0bc476e63149e021fc809a98c562378fb0e1d341..f0ae30e4f48a1bf2e79640c86d3641bafc777d9f 100644 (file)
@@ -19,6 +19,8 @@
 #define BOOST_NUMERIC_ODEINT_ALGEBRA_MULTI_ARRAY_ALGEBRA_HPP_DEFINED
 
 
+#include <boost/multi_array.hpp>
+
 #include <boost/numeric/odeint/algebra/detail/for_each.hpp>
 #include <boost/numeric/odeint/algebra/detail/norm_inf.hpp>
 #include <boost/numeric/odeint/algebra/norm_result_type.hpp>
@@ -121,7 +123,7 @@ struct multi_array_algebra
     {
         detail::for_each15( s1.data() , s1.data() + s1.num_elements() , s2.data() , s3.data() , s4.data() , s5.data() , s6.data() , s7.data() , s8.data() , s9.data() , s10.data() , s11.data() , s12.data() , s13.data() , s14.data() , s15.data() , op );
     }
-    
+
     template< typename S >
     static typename norm_result_type<S>::type norm_inf( const S &s )
     {
@@ -129,15 +131,11 @@ struct multi_array_algebra
     }
 };
 
-// template< class T , size_t N >
-// struct algebra_dispatcher< boost::array< T , N > >
-// {
-//     typedef array_algebra algebra_type;
-// };
-
-
-
-
+template< class T , size_t N >
+struct algebra_dispatcher< boost::multi_array< T , N > >
+{
+    typedef multi_array_algebra algebra_type;
+};
 
 
 } // namespace odeint