From 9f34a57aa6a5254af862659de07891d919679556 Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Tue, 31 Oct 2006 19:09:29 +0000 Subject: [PATCH] fixed bug that resulted in incorrect computation of product concentration products when rxn has 4 or more product molecules and one or more has a stoich coeff > 1 --- Cantera/src/ReactionStoichMgr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cantera/src/ReactionStoichMgr.cpp b/Cantera/src/ReactionStoichMgr.cpp index 0fb2506af..1ffb45af5 100644 --- a/Cantera/src/ReactionStoichMgr.cpp +++ b/Cantera/src/ReactionStoichMgr.cpp @@ -113,7 +113,9 @@ namespace Cantera { "\nfor irreversible reactions"); } if (pk.size() > 3) { - m_revproducts->add(rxn, r.products, m_dummy, r.pstoich); + // mod dgg 10/31/06 + m_revproducts->add(rxn, r.products, r.pstoich, r.pstoich); + //m_revproducts->add(rxn, r.products, m_dummy, r.pstoich); } else { m_revproducts->add(rxn, pk);