mhunter1 / dynr

Dynamic Modeling in R
5 stars 6 forks source link

Stop the copy-paste nonsense in adaptive ODE solver #243

Open mhunter1 opened 4 years ago

mhunter1 commented 4 years ago

The function adaptive_ode_kf is some extremely mild variant of adaptive_ode() with marginally different arguments. The vast majority of the code is the same. It's poor coding practice do to this and leads to technical debt: it makes code harder to maintain.