Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/ba/projects/TestingBoost/build> make -j2
- [ 50%] Building CXX object CMakeFiles/testingboost.dir/main.cpp.o
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp: In instantiation of ‘void boost::numeric::odeint::detail::generic_rk_call_algebra<1ul, Algebra>::operator()(boost::numeric::odeint::detail::generic_rk_call_algebra<1ul, Algebra>::algebra_type&, S1&, S2&, S3&, S4*, Op) const [with S1 = boost::array<double, 12ul>; S2 = const std::pair<double*, double*>; S3 = const boost::array<double, 12ul>; S4 = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; Op = boost::numeric::odeint::detail::generic_rk_scale_sum<1ul, boost::numeric::odeint::default_operations, double, double>; Algebra = boost::numeric::odeint::array_algebra; boost::numeric::odeint::detail::generic_rk_call_algebra<1ul, Algebra>::algebra_type = boost::numeric::odeint::array_algebra]’:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:208:85: required from ‘void boost::numeric::odeint::detail::generic_rk_algorithm<StageCount, Value, Algebra, Operations>::calculate_stage<System, StateIn, StateTemp, DerivIn, Deriv, StateOut, Time>::operator()(const boost::numeric::odeint::detail::stage<T, stage_number>&) const [with T = double; long unsigned int stage_number = 1ul; System = lorenz; StateIn = std::pair<double*, double*>; StateTemp = boost::array<double, 12ul>; DerivIn = boost::array<double, 12ul>; Deriv = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; StateOut = const std::pair<double*, double*>; Time = double; long unsigned int StageCount = 4ul; Value = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:62:14: required from ‘static constexpr void boost::fusion::detail::for_each_unrolled<N>::call(const I0&, const F&) [with I0 = boost::fusion::vector_iterator<const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector, 0>; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; int N = 4]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:135:78: required from ‘constexpr void boost::fusion::detail::for_each_dispatch(Sequence&, const F&, boost::fusion::random_access_traversal_tag) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:143:34: required from ‘constexpr void boost::fusion::detail::for_each(Sequence&, const F&, mpl_::false_) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/boost/fusion/algorithm/iteration/for_each.hpp:50:25: required from ‘constexpr typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type boost::fusion::for_each(const Sequence&, const F&) [with Sequence = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type = void]’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:232:32: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:230:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step_v1(System, StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = const std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:123:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step(System, const StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp:57:9: required from ‘Time boost::numeric::odeint::detail::integrate_n_steps(Stepper, System, State&, Time, Time, size_t, Observer, boost::numeric::odeint::stepper_tag) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = const std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:106:37: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t, Observer) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:132:29: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; size_t = long unsigned int]’
- /home/ba/projects/TestingBoost/main.cpp:90:104: required from here
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: error: no matching function for call to ‘boost::numeric::odeint::array_algebra::for_each3(boost::array<double, 12ul>&, const std::pair<double*, double*>&, const boost::array<double, 12ul>&, boost::numeric::odeint::detail::generic_rk_scale_sum<1ul, boost::numeric::odeint::default_operations, double, double>&)’
- algebra.for_each3( s1 , s2 , s3 , op );
- ^~~~~~~
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:56:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each3(Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each3( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:56:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each3( s1 , s2 , s3 , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:67:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each3(Array<T, dim>&, Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each3( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:67:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each3( s1 , s2 , s3 , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp: In instantiation of ‘void boost::numeric::odeint::detail::generic_rk_call_algebra<1ul, Algebra>::operator()(boost::numeric::odeint::detail::generic_rk_call_algebra<1ul, Algebra>::algebra_type&, S1&, S2&, S3&, S4*, Op) const [with S1 = const std::pair<double*, double*>; S2 = const std::pair<double*, double*>; S3 = const boost::array<double, 12ul>; S4 = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; Op = boost::numeric::odeint::detail::generic_rk_scale_sum<1ul, boost::numeric::odeint::default_operations, double, double>; Algebra = boost::numeric::odeint::array_algebra; boost::numeric::odeint::detail::generic_rk_call_algebra<1ul, Algebra>::algebra_type = boost::numeric::odeint::array_algebra]’:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:213:85: required from ‘void boost::numeric::odeint::detail::generic_rk_algorithm<StageCount, Value, Algebra, Operations>::calculate_stage<System, StateIn, StateTemp, DerivIn, Deriv, StateOut, Time>::operator()(const boost::numeric::odeint::detail::stage<T, stage_number>&) const [with T = double; long unsigned int stage_number = 1ul; System = lorenz; StateIn = std::pair<double*, double*>; StateTemp = boost::array<double, 12ul>; DerivIn = boost::array<double, 12ul>; Deriv = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; StateOut = const std::pair<double*, double*>; Time = double; long unsigned int StageCount = 4ul; Value = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:62:14: required from ‘static constexpr void boost::fusion::detail::for_each_unrolled<N>::call(const I0&, const F&) [with I0 = boost::fusion::vector_iterator<const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector, 0>; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; int N = 4]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:135:78: required from ‘constexpr void boost::fusion::detail::for_each_dispatch(Sequence&, const F&, boost::fusion::random_access_traversal_tag) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:143:34: required from ‘constexpr void boost::fusion::detail::for_each(Sequence&, const F&, mpl_::false_) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/boost/fusion/algorithm/iteration/for_each.hpp:50:25: required from ‘constexpr typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type boost::fusion::for_each(const Sequence&, const F&) [with Sequence = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type = void]’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:232:32: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:230:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step_v1(System, StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = const std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:123:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step(System, const StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp:57:9: required from ‘Time boost::numeric::odeint::detail::integrate_n_steps(Stepper, System, State&, Time, Time, size_t, Observer, boost::numeric::odeint::stepper_tag) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = const std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:106:37: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t, Observer) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:132:29: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; size_t = long unsigned int]’
- /home/ba/projects/TestingBoost/main.cpp:90:104: required from here
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: error: no matching function for call to ‘boost::numeric::odeint::array_algebra::for_each3(const std::pair<double*, double*>&, const std::pair<double*, double*>&, const boost::array<double, 12ul>&, boost::numeric::odeint::detail::generic_rk_scale_sum<1ul, boost::numeric::odeint::default_operations, double, double>&)’
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:56:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each3(Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each3( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:56:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each3( s1 , s2 , s3 , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:67:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each3(Array<T, dim>&, Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each3( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:67:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each3( s1 , s2 , s3 , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:38:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp: In instantiation of ‘void boost::numeric::odeint::detail::generic_rk_call_algebra<2ul, Algebra>::operator()(Algebra&, S1&, S2&, S3&, S4*, Op) const [with S1 = boost::array<double, 12ul>; S2 = const std::pair<double*, double*>; S3 = const boost::array<double, 12ul>; S4 = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; Op = boost::numeric::odeint::detail::generic_rk_scale_sum<2ul, boost::numeric::odeint::default_operations, double, double>; Algebra = boost::numeric::odeint::array_algebra]’:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:208:85: required from ‘void boost::numeric::odeint::detail::generic_rk_algorithm<StageCount, Value, Algebra, Operations>::calculate_stage<System, StateIn, StateTemp, DerivIn, Deriv, StateOut, Time>::operator()(const boost::numeric::odeint::detail::stage<T, stage_number>&) const [with T = double; long unsigned int stage_number = 2ul; System = lorenz; StateIn = std::pair<double*, double*>; StateTemp = boost::array<double, 12ul>; DerivIn = boost::array<double, 12ul>; Deriv = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; StateOut = const std::pair<double*, double*>; Time = double; long unsigned int StageCount = 4ul; Value = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:65:14: required from ‘static constexpr void boost::fusion::detail::for_each_unrolled<N>::call(const I0&, const F&) [with I0 = boost::fusion::vector_iterator<const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector, 0>; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; int N = 4]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:135:78: required from ‘constexpr void boost::fusion::detail::for_each_dispatch(Sequence&, const F&, boost::fusion::random_access_traversal_tag) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:143:34: required from ‘constexpr void boost::fusion::detail::for_each(Sequence&, const F&, mpl_::false_) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/boost/fusion/algorithm/iteration/for_each.hpp:50:25: required from ‘constexpr typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type boost::fusion::for_each(const Sequence&, const F&) [with Sequence = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type = void]’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:232:32: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:230:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step_v1(System, StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = const std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:123:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step(System, const StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp:57:9: required from ‘Time boost::numeric::odeint::detail::integrate_n_steps(Stepper, System, State&, Time, Time, size_t, Observer, boost::numeric::odeint::stepper_tag) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = const std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:106:37: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t, Observer) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:132:29: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; size_t = long unsigned int]’
- /home/ba/projects/TestingBoost/main.cpp:90:104: required from here
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:54:9: error: no matching function for call to ‘boost::numeric::odeint::array_algebra::for_each4(boost::array<double, 12ul>&, const std::pair<double*, double*>&, const boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::numeric::odeint::detail::generic_rk_scale_sum<2ul, boost::numeric::odeint::default_operations, double, double>&)’
- algebra.for_each4( s1 , s2 , s3 , s4_array[0].m_v , op );
- ^~~~~~~
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:77:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each4(Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each4( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:77:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:54:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each4( s1 , s2 , s3 , s4_array[0].m_v , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:54:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp: In instantiation of ‘void boost::numeric::odeint::detail::generic_rk_call_algebra<2ul, Algebra>::operator()(Algebra&, S1&, S2&, S3&, S4*, Op) const [with S1 = const std::pair<double*, double*>; S2 = const std::pair<double*, double*>; S3 = const boost::array<double, 12ul>; S4 = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; Op = boost::numeric::odeint::detail::generic_rk_scale_sum<2ul, boost::numeric::odeint::default_operations, double, double>; Algebra = boost::numeric::odeint::array_algebra]’:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:213:85: required from ‘void boost::numeric::odeint::detail::generic_rk_algorithm<StageCount, Value, Algebra, Operations>::calculate_stage<System, StateIn, StateTemp, DerivIn, Deriv, StateOut, Time>::operator()(const boost::numeric::odeint::detail::stage<T, stage_number>&) const [with T = double; long unsigned int stage_number = 2ul; System = lorenz; StateIn = std::pair<double*, double*>; StateTemp = boost::array<double, 12ul>; DerivIn = boost::array<double, 12ul>; Deriv = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; StateOut = const std::pair<double*, double*>; Time = double; long unsigned int StageCount = 4ul; Value = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:65:14: required from ‘static constexpr void boost::fusion::detail::for_each_unrolled<N>::call(const I0&, const F&) [with I0 = boost::fusion::vector_iterator<const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector, 0>; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; int N = 4]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:135:78: required from ‘constexpr void boost::fusion::detail::for_each_dispatch(Sequence&, const F&, boost::fusion::random_access_traversal_tag) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:143:34: required from ‘constexpr void boost::fusion::detail::for_each(Sequence&, const F&, mpl_::false_) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/boost/fusion/algorithm/iteration/for_each.hpp:50:25: required from ‘constexpr typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type boost::fusion::for_each(const Sequence&, const F&) [with Sequence = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type = void]’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:232:32: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:230:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step_v1(System, StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = const std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:123:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step(System, const StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp:57:9: required from ‘Time boost::numeric::odeint::detail::integrate_n_steps(Stepper, System, State&, Time, Time, size_t, Observer, boost::numeric::odeint::stepper_tag) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = const std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:106:37: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t, Observer) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:132:29: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; size_t = long unsigned int]’
- /home/ba/projects/TestingBoost/main.cpp:90:104: required from here
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:54:9: error: no matching function for call to ‘boost::numeric::odeint::array_algebra::for_each4(const std::pair<double*, double*>&, const std::pair<double*, double*>&, const boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::numeric::odeint::detail::generic_rk_scale_sum<2ul, boost::numeric::odeint::default_operations, double, double>&)’
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:77:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each4(Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each4( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:77:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:54:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each4( s1 , s2 , s3 , s4_array[0].m_v , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:54:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp: In instantiation of ‘void boost::numeric::odeint::detail::generic_rk_call_algebra<3ul, Algebra>::operator()(Algebra&, S1&, S2&, S3&, S4*, Op) const [with S1 = boost::array<double, 12ul>; S2 = const std::pair<double*, double*>; S3 = const boost::array<double, 12ul>; S4 = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; Op = boost::numeric::odeint::detail::generic_rk_scale_sum<3ul, boost::numeric::odeint::default_operations, double, double>; Algebra = boost::numeric::odeint::array_algebra]’:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:208:85: required from ‘void boost::numeric::odeint::detail::generic_rk_algorithm<StageCount, Value, Algebra, Operations>::calculate_stage<System, StateIn, StateTemp, DerivIn, Deriv, StateOut, Time>::operator()(const boost::numeric::odeint::detail::stage<T, stage_number>&) const [with T = double; long unsigned int stage_number = 3ul; System = lorenz; StateIn = std::pair<double*, double*>; StateTemp = boost::array<double, 12ul>; DerivIn = boost::array<double, 12ul>; Deriv = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; StateOut = const std::pair<double*, double*>; Time = double; long unsigned int StageCount = 4ul; Value = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:68:14: required from ‘static constexpr void boost::fusion::detail::for_each_unrolled<N>::call(const I0&, const F&) [with I0 = boost::fusion::vector_iterator<const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector, 0>; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; int N = 4]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:135:78: required from ‘constexpr void boost::fusion::detail::for_each_dispatch(Sequence&, const F&, boost::fusion::random_access_traversal_tag) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:143:34: required from ‘constexpr void boost::fusion::detail::for_each(Sequence&, const F&, mpl_::false_) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/boost/fusion/algorithm/iteration/for_each.hpp:50:25: required from ‘constexpr typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type boost::fusion::for_each(const Sequence&, const F&) [with Sequence = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type = void]’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:232:32: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:230:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step_v1(System, StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = const std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:123:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step(System, const StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp:57:9: required from ‘Time boost::numeric::odeint::detail::integrate_n_steps(Stepper, System, State&, Time, Time, size_t, Observer, boost::numeric::odeint::stepper_tag) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = const std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:106:37: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t, Observer) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:132:29: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; size_t = long unsigned int]’
- /home/ba/projects/TestingBoost/main.cpp:90:104: required from here
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:71:9: error: no matching function for call to ‘boost::numeric::odeint::array_algebra::for_each5(boost::array<double, 12ul>&, const std::pair<double*, double*>&, const boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::numeric::odeint::detail::generic_rk_scale_sum<3ul, boost::numeric::odeint::default_operations, double, double>&)’
- algebra.for_each5( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , op );
- ^~~~~~~
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:88:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each5(Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each5( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:88:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:71:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each5( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:71:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp: In instantiation of ‘void boost::numeric::odeint::detail::generic_rk_call_algebra<3ul, Algebra>::operator()(Algebra&, S1&, S2&, S3&, S4*, Op) const [with S1 = const std::pair<double*, double*>; S2 = const std::pair<double*, double*>; S3 = const boost::array<double, 12ul>; S4 = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; Op = boost::numeric::odeint::detail::generic_rk_scale_sum<3ul, boost::numeric::odeint::default_operations, double, double>; Algebra = boost::numeric::odeint::array_algebra]’:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:213:85: required from ‘void boost::numeric::odeint::detail::generic_rk_algorithm<StageCount, Value, Algebra, Operations>::calculate_stage<System, StateIn, StateTemp, DerivIn, Deriv, StateOut, Time>::operator()(const boost::numeric::odeint::detail::stage<T, stage_number>&) const [with T = double; long unsigned int stage_number = 3ul; System = lorenz; StateIn = std::pair<double*, double*>; StateTemp = boost::array<double, 12ul>; DerivIn = boost::array<double, 12ul>; Deriv = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; StateOut = const std::pair<double*, double*>; Time = double; long unsigned int StageCount = 4ul; Value = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:68:14: required from ‘static constexpr void boost::fusion::detail::for_each_unrolled<N>::call(const I0&, const F&) [with I0 = boost::fusion::vector_iterator<const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector, 0>; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; int N = 4]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:135:78: required from ‘constexpr void boost::fusion::detail::for_each_dispatch(Sequence&, const F&, boost::fusion::random_access_traversal_tag) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:143:34: required from ‘constexpr void boost::fusion::detail::for_each(Sequence&, const F&, mpl_::false_) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/boost/fusion/algorithm/iteration/for_each.hpp:50:25: required from ‘constexpr typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type boost::fusion::for_each(const Sequence&, const F&) [with Sequence = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type = void]’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:232:32: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:230:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step_v1(System, StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = const std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:123:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step(System, const StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp:57:9: required from ‘Time boost::numeric::odeint::detail::integrate_n_steps(Stepper, System, State&, Time, Time, size_t, Observer, boost::numeric::odeint::stepper_tag) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = const std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:106:37: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t, Observer) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:132:29: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; size_t = long unsigned int]’
- /home/ba/projects/TestingBoost/main.cpp:90:104: required from here
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:71:9: error: no matching function for call to ‘boost::numeric::odeint::array_algebra::for_each5(const std::pair<double*, double*>&, const std::pair<double*, double*>&, const boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::numeric::odeint::detail::generic_rk_scale_sum<3ul, boost::numeric::odeint::default_operations, double, double>&)’
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:88:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each5(Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each5( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:88:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:71:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each5( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:71:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp: In instantiation of ‘void boost::numeric::odeint::detail::generic_rk_call_algebra<4ul, Algebra>::operator()(Algebra&, S1&, S2&, S3&, S4*, Op) const [with S1 = boost::array<double, 12ul>; S2 = const std::pair<double*, double*>; S3 = const boost::array<double, 12ul>; S4 = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; Op = boost::numeric::odeint::detail::generic_rk_scale_sum<4ul, boost::numeric::odeint::default_operations, double, double>; Algebra = boost::numeric::odeint::array_algebra]’:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:208:85: required from ‘void boost::numeric::odeint::detail::generic_rk_algorithm<StageCount, Value, Algebra, Operations>::calculate_stage<System, StateIn, StateTemp, DerivIn, Deriv, StateOut, Time>::operator()(const boost::numeric::odeint::detail::stage<T, stage_number>&) const [with T = double; long unsigned int stage_number = 4ul; System = lorenz; StateIn = std::pair<double*, double*>; StateTemp = boost::array<double, 12ul>; DerivIn = boost::array<double, 12ul>; Deriv = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; StateOut = const std::pair<double*, double*>; Time = double; long unsigned int StageCount = 4ul; Value = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:71:14: required from ‘static constexpr void boost::fusion::detail::for_each_unrolled<N>::call(const I0&, const F&) [with I0 = boost::fusion::vector_iterator<const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector, 0>; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; int N = 4]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:135:78: required from ‘constexpr void boost::fusion::detail::for_each_dispatch(Sequence&, const F&, boost::fusion::random_access_traversal_tag) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:143:34: required from ‘constexpr void boost::fusion::detail::for_each(Sequence&, const F&, mpl_::false_) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/boost/fusion/algorithm/iteration/for_each.hpp:50:25: required from ‘constexpr typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type boost::fusion::for_each(const Sequence&, const F&) [with Sequence = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type = void]’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:232:32: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:230:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step_v1(System, StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = const std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:123:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step(System, const StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp:57:9: required from ‘Time boost::numeric::odeint::detail::integrate_n_steps(Stepper, System, State&, Time, Time, size_t, Observer, boost::numeric::odeint::stepper_tag) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = const std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:106:37: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t, Observer) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:132:29: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; size_t = long unsigned int]’
- /home/ba/projects/TestingBoost/main.cpp:90:104: required from here
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:88:9: error: no matching function for call to ‘boost::numeric::odeint::array_algebra::for_each6(boost::array<double, 12ul>&, const std::pair<double*, double*>&, const boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::numeric::odeint::detail::generic_rk_scale_sum<4ul, boost::numeric::odeint::default_operations, double, double>&)’
- algebra.for_each6( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , s4_array[2].m_v , op );
- ^~~~~~~
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:100:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each6(Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each6( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:100:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:88:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each6( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , s4_array[2].m_v , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:88:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp: In instantiation of ‘void boost::numeric::odeint::detail::generic_rk_call_algebra<4ul, Algebra>::operator()(Algebra&, S1&, S2&, S3&, S4*, Op) const [with S1 = const std::pair<double*, double*>; S2 = const std::pair<double*, double*>; S3 = const boost::array<double, 12ul>; S4 = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; Op = boost::numeric::odeint::detail::generic_rk_scale_sum<4ul, boost::numeric::odeint::default_operations, double, double>; Algebra = boost::numeric::odeint::array_algebra]’:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:213:85: required from ‘void boost::numeric::odeint::detail::generic_rk_algorithm<StageCount, Value, Algebra, Operations>::calculate_stage<System, StateIn, StateTemp, DerivIn, Deriv, StateOut, Time>::operator()(const boost::numeric::odeint::detail::stage<T, stage_number>&) const [with T = double; long unsigned int stage_number = 4ul; System = lorenz; StateIn = std::pair<double*, double*>; StateTemp = boost::array<double, 12ul>; DerivIn = boost::array<double, 12ul>; Deriv = boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>; StateOut = const std::pair<double*, double*>; Time = double; long unsigned int StageCount = 4ul; Value = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:71:14: required from ‘static constexpr void boost::fusion::detail::for_each_unrolled<N>::call(const I0&, const F&) [with I0 = boost::fusion::vector_iterator<const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector, 0>; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; int N = 4]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:135:78: required from ‘constexpr void boost::fusion::detail::for_each_dispatch(Sequence&, const F&, boost::fusion::random_access_traversal_tag) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>]’
- /usr/local/include/boost/fusion/algorithm/iteration/detail/for_each.hpp:143:34: required from ‘constexpr void boost::fusion::detail::for_each(Sequence&, const F&, mpl_::false_) [with Sequence = const boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/boost/fusion/algorithm/iteration/for_each.hpp:50:25: required from ‘constexpr typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type boost::fusion::for_each(const Sequence&, const F&) [with Sequence = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::stage_vector; F = boost::numeric::odeint::detail::generic_rk_algorithm<4ul, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations>::calculate_stage<lorenz, std::pair<double*, double*>, boost::array<double, 12ul>, boost::array<double, 12ul>, boost::numeric::odeint::state_wrapper<boost::array<double, 12ul>, void>, const std::pair<double*, double*>, double>; typename boost::enable_if<boost::fusion::traits::is_sequence<Sequence>, void>::type = void]’
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:232:32: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:230:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step_v1(System, StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = const std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:123:9: required from ‘void boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::do_step(System, const StateInOut&, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type, boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type) [with System = lorenz; StateInOut = std::pair<double*, double*>; Stepper = boost::numeric::odeint::explicit_generic_rk<4ul, 4ul, boost::array<double, 12ul>, double, boost::array<double, 12ul>, double, boost::numeric::odeint::array_algebra, boost::numeric::odeint::default_operations, boost::numeric::odeint::initially_resizer>; short unsigned int Order = 4u; State = boost::array<double, 12ul>; Value = double; Deriv = boost::array<double, 12ul>; Time = double; Algebra = boost::numeric::odeint::array_algebra; Operations = boost::numeric::odeint::default_operations; Resizer = boost::numeric::odeint::initially_resizer; boost::numeric::odeint::explicit_stepper_base<Stepper, Order, State, Value, Deriv, Time, Algebra, Operations, Resizer>::time_type = double]’
- /usr/local/include/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp:57:9: required from ‘Time boost::numeric::odeint::detail::integrate_n_steps(Stepper, System, State&, Time, Time, size_t, Observer, boost::numeric::odeint::stepper_tag) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = const std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:106:37: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t, Observer) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; Observer = boost::numeric::odeint::null_observer; size_t = long unsigned int]’
- /usr/local/include/boost/numeric/odeint/integrate/integrate_n_steps.hpp:132:29: required from ‘Time boost::numeric::odeint::integrate_n_steps(Stepper, System, const State&, Time, Time, size_t) [with Stepper = boost::numeric::odeint::runge_kutta4<boost::array<double, 12ul> >; System = lorenz; State = std::pair<double*, double*>; Time = double; size_t = long unsigned int]’
- /home/ba/projects/TestingBoost/main.cpp:90:104: required from here
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:88:9: error: no matching function for call to ‘boost::numeric::odeint::array_algebra::for_each6(const std::pair<double*, double*>&, const std::pair<double*, double*>&, const boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::array<double, 12ul>&, boost::numeric::odeint::detail::generic_rk_scale_sum<4ul, boost::numeric::odeint::default_operations, double, double>&)’
- In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
- from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:27,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:100:17: note: candidate: template<template<class, long unsigned int <anonymous> > class Array, class T, long unsigned int dim, class Op> static void boost::numeric::odeint::array_algebra::for_each6(Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, const Array<T, dim>&, Op)
- static void for_each6( Array< T , dim > &s1 ,
- ^~~~~~~~~
- /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:100:17: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
- from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
- from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
- from /usr/local/include/boost/numeric/odeint.hpp:29,
- from /home/ba/projects/TestingBoost/main.cpp:20:
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:88:9: error: type/value mismatch at argument 2 in template parameter list for ‘template<class, long unsigned int <anonymous> > class Array’
- algebra.for_each6( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , s4_array[2].m_v , op );
- ^~~~~~~
- /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp:88:9: note: expected a constant of type ‘long unsigned int’, got ‘double*’
- CMakeFiles/testingboost.dir/build.make:62: recipe for target 'CMakeFiles/testingboost.dir/main.cpp.o' failed
- make[2]: *** [CMakeFiles/testingboost.dir/main.cpp.o] Error 1
- CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/testingboost.dir/all' failed
- make[1]: *** [CMakeFiles/testingboost.dir/all] Error 2
- Makefile:127: recipe for target 'all' failed
- make: *** [all] Error 2
- *** Failure: Exit code 2 ***
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement