An argument conflicted with a member variable. I changed the

name of the argument variable.
This commit is contained in:
Harry Moffat 2006-03-03 21:57:41 +00:00
parent 7df61e97a7
commit 1ddc4c9574

View file

@ -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;
}
}