Fix function named specified in checkReactionBalance exception message

This commit is contained in:
Ray Speth 2015-02-20 00:11:16 +00:00
parent e545d123c2
commit 70b51c797c

View file

@ -338,7 +338,7 @@ void Kinetics::checkReactionBalance(const Reaction& R)
if (!ok) {
msg = "The following reaction is unbalanced: " + R.equation() + "\n" +
" Element Reactants Products\n" + msg;
throw CanteraError("checkRxnElementBalance", msg);
throw CanteraError("checkReactionBalance", msg);
}
}