From 1ddc4c957427fff5668aab741a5b78498d30f016 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 3 Mar 2006 21:57:41 +0000 Subject: [PATCH] An argument conflicted with a member variable. I changed the name of the argument variable. --- Cantera/src/ReactionPath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cantera/src/ReactionPath.cpp b/Cantera/src/ReactionPath.cpp index de6fc7808..3861731ee 100755 --- a/Cantera/src/ReactionPath.cpp +++ b/Cantera/src/ReactionPath.cpp @@ -179,7 +179,7 @@ namespace Cantera { } } - void ReactionPathDiagram::findMajorPaths(doublereal threshold, int lda, + void ReactionPathDiagram::findMajorPaths(doublereal athreshold, int lda, doublereal* a) { int nn = nNodes(); int n, m, k1, k2; @@ -197,7 +197,7 @@ namespace Cantera { k1 = m_speciesNumber[n]; k2 = m_speciesNumber[m]; fl = fabs(netFlow(k1,k2)); - if (fl > threshold*netmax) + if (fl > athreshold*netmax) a[lda*k1 + k2] = 1; } }