Fixed handling of explicit reaction orders for some reactions
For reactions with unity reactant stoichiometric coefficients, explicit values for the forward reaction order were being ignored while setting up the StoichManager. Cherry-picked from trunk (r1802).
This commit is contained in:
parent
3116653f2f
commit
2e233d0542
1 changed files with 2 additions and 1 deletions
|
|
@ -827,8 +827,9 @@ public:
|
|||
m_n[rxn] = k.size();
|
||||
bool frac = false;
|
||||
for (size_t n = 0; n < stoich.size(); n++) {
|
||||
if (stoich[n] != 1.0) {
|
||||
if (stoich[n] != 1.0 || order[n] != 1.0) {
|
||||
frac = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (frac) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue