Slight formatting change

This commit is contained in:
Harry Moffat 2003-07-23 21:51:38 +00:00
parent 973834c0ef
commit 0f038b580d

View File

@ -102,8 +102,10 @@ namespace Cantera {
s = "";
}
nm = stripws(name);
if (x[nm] == 0.0) throw CanteraError("parseCompString",
"unknown species "+nm);
if (x[nm] == 0.0) {
throw CanteraError("parseCompString",
"unknown species " + nm);
}
x[nm] = atof(num.c_str());
}
else s = "";