headmyshoulder / odeint-v2

odeint - solving ordinary differential equations in c++ v2
http://headmyshoulder.github.com/odeint-v2/
Other
341 stars 101 forks source link

lorenz_point.cpp example won't compile #195

Open tom-anders opened 8 years ago

tom-anders commented 8 years ago

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'|

What am I missing here?

tom-anders commented 8 years ago

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