odeint-v2 icon indicating copy to clipboard operation
odeint-v2 copied to clipboard

lorenz_point.cpp example won't compile

Open tom-anders opened this issue 9 years ago • 1 comments

First of all, I really love odeint, I use it in my physics undergraduate research and it has made my life so much easier.

I'm looking to implement custom state types, so I tried compiling the lorenz_point example (literally just copied the code and tried compiling it with Code::Blocks and g++). I get the following error messages in my lorenz_point.cpp file:

|75|error: 'vector_space_reduce' is not a class template| |76|error: explicit specialization of non-template 'boost::numeric::odeint::vector_space_reduce'|

Also one error in controlled_runge_kutta.hpp:

|89|error: no matching function for call to 'boost::numeric::odeint::vector_space_algebra::norm_inf(point3D&)'|

and one in vector_space_algebra.hpp:

|165|error: invalid use of incomplete type 'struct boost::numeric::odeint::vector_space_norm_inf<point3D>'|

What am I missing here?

tom-anders avatar Oct 03 '16 09:10 tom-anders

The github version of the example compiles fine - The version on boost.org should probably be updated...

tom-anders avatar Oct 03 '16 10:10 tom-anders