headmyshoulder / odeint-v2

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

Fixed dense_output_runge_kutta<Stepper, stepper_tag>::do_step(...) #224

Closed friedrichatgc closed 6 years ago

friedrichatgc commented 6 years ago

do_step must return the pair (t, t+dt) but (t, dt) is returned.

Note that dense_output_runge_kutta<Stepper, explicit_controlled_stepper_fsal_tag>::do_step(...) works correctly.

mariomulansky commented 6 years ago

Thanks!