KarrLab / wc_sim

A multi-algorithmic simulator for whole-cell models
MIT License
6 stars 2 forks source link

Warn about potential negative species #103

Closed artgoldberg closed 3 years ago

artgoldberg commented 3 years ago

If an update by a continuous submodel predicts a negative population at the next time-step, issue a warning. In the process, stop returning the current population from DynamicSpeciesState.continuous_adjustment as it's never used.

artgoldberg commented 3 years ago

Done!

artgoldberg commented 3 years ago

Implementation not good enough, IMHO. Will make it work for all time steps.

artgoldberg commented 3 years ago

Done.