Fix incorrect index check in GeneralSpeciesThermo::reportParams
The SpeciesThermoInterpType no longer knows the species index, so it isn't actually returned by the reportParameters function.
This commit is contained in:
parent
c69889b4bc
commit
6e77e3417f
1 changed files with 0 additions and 4 deletions
|
|
@ -173,10 +173,6 @@ void GeneralSpeciesThermo::reportParams(size_t index, int& type,
|
|||
if (sp) {
|
||||
sp->reportParameters(n, type, minTemp_, maxTemp_,
|
||||
refPressure_, c);
|
||||
if (n != index) {
|
||||
throw CanteraError("GeneralSpeciesThermo::reportParams",
|
||||
"Internal error encountered");
|
||||
}
|
||||
} else {
|
||||
type = -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue