headmyshoulder / odeint-v2

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

avoid extra steps due to precision in integrate_times with normal stepper #171

Open mariomulansky opened 9 years ago

mariomulansky commented 9 years ago

When using integrate_times with a normal stepper you can run into situations where do_step is called more often then necessary due to precision problems. This happens especially when dt matches the increments of the given time points.

original report: https://svn.boost.org/trac/boost/ticket/11535