Advertisement
Guest User

Untitled

a guest
Mar 15th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 92.36 KB | None | 0 0
  1. /home/ba/projects/TestingBoost/build> make -j2
  2. [ 50%] Building CXX object CMakeFiles/testingboost.dir/main.cpp.o
  3. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  4.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  5.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  6.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  7.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  8. /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]’:
  9. /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]’
  10. /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]’
  11. /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>]’
  12. /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>]’
  13. /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]’
  14. /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 ]
  15. /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]’
  16. /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]’
  17. /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]’
  18. /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]’
  19. /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]’
  20. /home/ba/projects/TestingBoost/main.cpp:90:104:   required from here
  21. /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>&)
  22.          algebra.for_each3( s1 , s2 , s3 , op );
  23.          ^~~~~~~
  24. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  25.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  26.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  27.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  28. /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)
  29.      static void for_each3( Array< T , dim > &s1 ,
  30.                  ^~~~~~~~~
  31. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:56:17: note:   template argument deduction/substitution failed:
  32. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  33.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  34.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  35.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  36.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  37. /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’
  38.          algebra.for_each3( s1 , s2 , s3 , op );
  39.          ^~~~~~~
  40. /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*’
  41. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  42.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  43.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  44.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  45. /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)
  46.      static void for_each3( Array< T , dim > &s1 ,
  47.                  ^~~~~~~~~
  48. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:67:17: note:   template argument deduction/substitution failed:
  49. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  50.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  51.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  52.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  53.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  54. /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’
  55.          algebra.for_each3( s1 , s2 , s3 , op );
  56.          ^~~~~~~
  57. /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*’
  58. /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]’:
  59. /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]’
  60. /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]’
  61. /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>]’
  62. /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>]’
  63. /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]’
  64. /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 ]
  65. /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]’
  66. /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]’
  67. /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]’
  68. /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]’
  69. /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]’
  70. /home/ba/projects/TestingBoost/main.cpp:90:104:   required from here
  71. /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>&)
  72. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  73.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  74.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  75.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  76. /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)
  77.      static void for_each3( Array< T , dim > &s1 ,
  78.                  ^~~~~~~~~
  79. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:56:17: note:   template argument deduction/substitution failed:
  80. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  81.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  82.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  83.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  84.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  85. /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’
  86.          algebra.for_each3( s1 , s2 , s3 , op );
  87.          ^~~~~~~
  88. /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*’
  89. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  90.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  91.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  92.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  93. /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)
  94.      static void for_each3( Array< T , dim > &s1 ,
  95.                  ^~~~~~~~~
  96. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:67:17: note:   template argument deduction/substitution failed:
  97. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  98.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  99.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  100.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  101.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  102. /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’
  103.          algebra.for_each3( s1 , s2 , s3 , op );
  104.          ^~~~~~~
  105. /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*’
  106. /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]’:
  107. /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]’
  108. /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]’
  109. /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>]’
  110. /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>]’
  111. /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]’
  112. /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 ]
  113. /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]’
  114. /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]’
  115. /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]’
  116. /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]’
  117. /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]’
  118. /home/ba/projects/TestingBoost/main.cpp:90:104:   required from here
  119. /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>&)
  120.          algebra.for_each4( s1 , s2 , s3 , s4_array[0].m_v , op );
  121.          ^~~~~~~
  122. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  123.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  124.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  125.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  126. /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)
  127.      static void for_each4( Array< T , dim > &s1 ,
  128.                  ^~~~~~~~~
  129. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:77:17: note:   template argument deduction/substitution failed:
  130. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  131.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  132.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  133.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  134.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  135. /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’
  136.          algebra.for_each4( s1 , s2 , s3 , s4_array[0].m_v , op );
  137.          ^~~~~~~
  138. /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*’
  139. /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]’:
  140. /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]’
  141. /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]’
  142. /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>]’
  143. /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>]’
  144. /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]’
  145. /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 ]
  146. /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]’
  147. /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]’
  148. /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]’
  149. /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]’
  150. /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]’
  151. /home/ba/projects/TestingBoost/main.cpp:90:104:   required from here
  152. /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>&)
  153. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  154.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  155.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  156.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  157. /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)
  158.      static void for_each4( Array< T , dim > &s1 ,
  159.                  ^~~~~~~~~
  160. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:77:17: note:   template argument deduction/substitution failed:
  161. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  162.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  163.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  164.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  165.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  166. /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’
  167.          algebra.for_each4( s1 , s2 , s3 , s4_array[0].m_v , op );
  168.          ^~~~~~~
  169. /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*’
  170. /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]’:
  171. /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]’
  172. /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]’
  173. /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>]’
  174. /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>]’
  175. /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]’
  176. /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 ]
  177. /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]’
  178. /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]’
  179. /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]’
  180. /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]’
  181. /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]’
  182. /home/ba/projects/TestingBoost/main.cpp:90:104:   required from here
  183. /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>&)
  184.          algebra.for_each5( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , op );
  185.          ^~~~~~~
  186. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  187.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  188.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  189.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  190. /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)
  191.      static void for_each5( Array< T , dim > &s1 ,
  192.                  ^~~~~~~~~
  193. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:88:17: note:   template argument deduction/substitution failed:
  194. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  195.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  196.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  197.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  198.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  199. /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’
  200.          algebra.for_each5( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , op );
  201.          ^~~~~~~
  202. /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*’
  203. /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]’:
  204. /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]’
  205. /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]’
  206. /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>]’
  207. /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>]’
  208. /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]’
  209. /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 ]
  210. /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]’
  211. /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]’
  212. /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]’
  213. /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]’
  214. /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]’
  215. /home/ba/projects/TestingBoost/main.cpp:90:104:   required from here
  216. /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>&)
  217. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  218.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  219.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  220.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  221. /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)
  222.      static void for_each5( Array< T , dim > &s1 ,
  223.                  ^~~~~~~~~
  224. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:88:17: note:   template argument deduction/substitution failed:
  225. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  226.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  227.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  228.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  229.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  230. /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’
  231.          algebra.for_each5( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , op );
  232.          ^~~~~~~
  233. /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*’
  234. /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]’:
  235. /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]’
  236. /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]’
  237. /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>]’
  238. /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>]’
  239. /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]’
  240. /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 ]
  241. /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]’
  242. /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]’
  243. /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]’
  244. /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]’
  245. /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]’
  246. /home/ba/projects/TestingBoost/main.cpp:90:104:   required from here
  247. /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>&)
  248.          algebra.for_each6( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , s4_array[2].m_v , op );
  249.          ^~~~~~~
  250. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  251.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  252.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  253.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  254. /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)
  255.      static void for_each6( Array< T , dim > &s1 ,
  256.                  ^~~~~~~~~
  257. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:100:17: note:   template argument deduction/substitution failed:
  258. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  259.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  260.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  261.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  262.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  263. /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’
  264.          algebra.for_each6( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , s4_array[2].m_v , op );
  265.          ^~~~~~~
  266. /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*’
  267. /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]’:
  268. /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]’
  269. /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]’
  270. /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>]’
  271. /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>]’
  272. /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]’
  273. /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 ]
  274. /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]’
  275. /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]’
  276. /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]’
  277. /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]’
  278. /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]’
  279. /home/ba/projects/TestingBoost/main.cpp:90:104:   required from here
  280. /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>&)
  281. In file included from /usr/local/include/boost/numeric/odeint/algebra/algebra_dispatcher.hpp:29:0,
  282.                  from /usr/local/include/boost/numeric/odeint/stepper/euler.hpp:27,
  283.                  from /usr/local/include/boost/numeric/odeint.hpp:27,
  284.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  285. /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)
  286.      static void for_each6( Array< T , dim > &s1 ,
  287.                  ^~~~~~~~~
  288. /usr/local/include/boost/numeric/odeint/algebra/array_algebra.hpp:100:17: note:   template argument deduction/substitution failed:
  289. In file included from /usr/local/include/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp:40:0,
  290.                  from /usr/local/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:31,
  291.                  from /usr/local/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27,
  292.                  from /usr/local/include/boost/numeric/odeint.hpp:29,
  293.                  from /home/ba/projects/TestingBoost/main.cpp:20:
  294. /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’
  295.          algebra.for_each6( s1 , s2 , s3 , s4_array[0].m_v , s4_array[1].m_v , s4_array[2].m_v , op );
  296.          ^~~~~~~
  297. /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*’
  298. CMakeFiles/testingboost.dir/build.make:62: recipe for target 'CMakeFiles/testingboost.dir/main.cpp.o' failed
  299. make[2]: *** [CMakeFiles/testingboost.dir/main.cpp.o] Error 1
  300. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/testingboost.dir/all' failed
  301. make[1]: *** [CMakeFiles/testingboost.dir/all] Error 2
  302. Makefile:127: recipe for target 'all' failed
  303. make: *** [all] Error 2
  304. *** Failure: Exit code 2 ***
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement