Slight formatting change
This commit is contained in:
parent
973834c0ef
commit
0f038b580d
1 changed files with 4 additions and 2 deletions
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue