Make error message from newSpeciesThermoInterpType more informative
This commit is contained in:
parent
2678b57d58
commit
5fcbfde40e
1 changed files with 2 additions and 1 deletions
|
|
@ -397,7 +397,8 @@ SpeciesThermoInterpType* newSpeciesThermoInterpType(const XML_Node& thermo)
|
|||
for (size_t i = 1; i < tp.size(); i++) {
|
||||
if (!ba::iequals(tp[i]->name(), thermoType)) {
|
||||
throw CanteraError("newSpeciesThermoInterpType",
|
||||
"Encountered unsupported mixed species thermo parameterizations");
|
||||
"Encountered unsupported mixed species thermo "
|
||||
"parameterizations, '{}' and '{}'", tp[i]->name(), thermoType);
|
||||
}
|
||||
}
|
||||
if ((tp.size() > 2 && thermoType != "nasa9") ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue