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:
Ray Speth 2015-07-16 12:28:46 -04:00
parent c69889b4bc
commit 6e77e3417f

View file

@ -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;
}