headmyshoulder / odeint-v2

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

steppers are copied in integrate functions #101

Closed mariomulansky closed 11 years ago

mariomulansky commented 11 years ago

As pointed out in https://svn.boost.org/trac/boost/ticket/9030 copying steppers by value can cause problems. Hence the integrate functions should also accept boost::ref(stepper) to allow using references if wanted.