Closed slayoo closed 12 years ago
Thank you, I applied your patch and commited it into the trunk. Why do you need the modified_midpoint?
We're allowing to choose the integration method at runtime, and I've simply tried to pick a set of basic methods to be available to choose from: euler, rk4, mmid. The mmid needed this fix to compile. S.
The midpoint method is used for the bulirsch stoer stepper and it has some special features needed in bulirsch stoer. You can easily create the midpoint method from scratch by using the generic steppers, see the example in the docs: http://headmyshoulder.github.com/odeint-v2/doc/boost_numeric_odeint/odeint_in_detail/steppers.html#boost_numeric_odeint.odeint_in_detail.steppers.writing_own_runge_kutta_steppers
Done