3 boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp
9 Copyright 2013 Karsten Ahnert
10 Copyright 2013 Mario Mulansky
12 Distributed under the Boost Software License, Version 1.0.
13 (See accompanying file LICENSE_1_0.txt or
14 copy at http://www.boost.org/LICENSE_1_0.txt)
18 #ifndef BOOST_NUMERIC_ODEINT_ALGEBRA_FUSION_ALGEBRA_DISPATCHER_HPP_DEFINED
19 #define BOOST_NUMERIC_ODEINT_ALGEBRA_FUSION_ALGEBRA_DISPATCHER_HPP_DEFINED
21 #include <boost/numeric/odeint/algebra/fusion_algebra.hpp>
22 #include <boost/numeric/odeint/algebra/algebra_dispatcher.hpp>
24 #include <boost/utility/enable_if.hpp>
25 #include <boost/fusion/include/is_sequence.hpp>
33 // specialization for fusion sequences
34 template< class FusionSequence >
35 struct algebra_dispatcher_sfinae< FusionSequence ,
36 typename boost::enable_if<
37 typename boost::fusion::traits::is_sequence< FusionSequence >::type >::type >
39 typedef fusion_algebra algebra_type;
44 } // namespace numeric
48 #endif // BOOST_NUMERIC_ODEINT_ALGEBRA_FUSION_ALGEBRA_DISPATCHER_HPP_DEFINED