Commit 34fb5a49 authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: reactionSensitivity - corrected integral calculations

parent 7309d6cf
......@@ -110,12 +110,12 @@ calculateSpeciesRR
if (RR[0] > 0.0)
{
production_[speciei][reactioni] = RR[0];
productionInt_[speciei][reactioni] =+ dt*RR[0];
productionInt_[speciei][reactioni] += dt*RR[0];
}
else if (RR[0] < 0.0)
{
consumption_[speciei][reactioni] = RR[0];
consumptionInt_[speciei][reactioni] =+ dt*RR[0];
consumptionInt_[speciei][reactioni] += dt*RR[0];
}
else
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment