headmyshoulder / odeint-v2

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

adams_bashforth_moulton lacks a reset method #182

Closed jackhall closed 8 years ago

jackhall commented 8 years ago

Pretty much like the title says. The documentation says adams_bashforth_moulton should have a reset method, and it doesn't. Without a reset method, I can't use it as a drop-in replacement for the other multisteppers.

mariomulansky commented 8 years ago

Thanks for reporting. Indeed the reset method is missing. Fix should be rather trivial, we simply need to forward the definition from the internal adams-moulton stepper. I'll look into this asap.

jackhall commented 8 years ago

Thanks for the quick fix!