mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Slight formatting change
This commit is contained in:
parent
973834c0ef
commit
0f038b580d
@ -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…
Reference in New Issue
Block a user