Closed BryanRumsey closed 3 years ago
This is a narrowing issue, the C++ solvers are expecting integers and encounters issues when that's not the case.
We have two potential solutions: either explicitly cast the species initial populations to integers when the template is generated (but have an explicit cast from the C++ side for safety), or modify the inital_populations
vector to accept doubles and have the solvers handle the conversions themselves. If there are any scenarios where a real-valued initial population is allowed, then the latter is necessary.
Oregonator Error
Lotkavolterra_Oscillator Error