diff --git a/src/thermo/NasaThermo.cpp b/src/thermo/NasaThermo.cpp index cc2a8d337f..7c01169ea8 100644 --- a/src/thermo/NasaThermo.cpp +++ b/src/thermo/NasaThermo.cpp @@ -194,18 +194,12 @@ void NasaThermo::reportParams(size_t index, int& type, double ttemp; lowPoly->reportParameters(n, itype, minTemp, ttemp, refPressure, c + 1); - if (n != index) { - throw CanteraError("NasaThermo::reportParams", "Index mismatch"); - } if (itype != NASA1) { throw CanteraError("NasaThermo::reportParams", "Thermo type mismatch for low-T polynomial"); } highPoly->reportParameters(n, itype, ttemp, maxTemp, refPressure, c + 8); - if (n != index) { - throw CanteraError("NasaThermo::reportParams", "Index mismatch"); - } if (itype != NASA1) { throw CanteraError("NasaThermo::reportParams", "Thermo type mismatch for high-T polynomial"); diff --git a/src/thermo/ShomateThermo.h b/src/thermo/ShomateThermo.h index 3e2a055a74..e00c3c0c0a 100644 --- a/src/thermo/ShomateThermo.h +++ b/src/thermo/ShomateThermo.h @@ -312,20 +312,12 @@ class ShomateThermo : public SpeciesThermo double ttemp; lowPoly->reportParameters(n, itype, minTemp, ttemp, refPressure, c + 1); - if (n != index) { - throw CanteraError("ShomateThermo::reportParams", - "Index mismatch in low-T polynomial"); - } if (itype != SHOMATE && itype != SHOMATE1) { throw CanteraError("ShomateThermo::reportParams", "Thermo type mismatch in low-T polynomial"); } highPoly->reportParameters(n, itype, ttemp, maxTemp, refPressure, c + 8); - if (n != index) { - throw CanteraError("ShomateThermo::reportParams", - "Index mismatch in high-T polynomial"); - } if (itype != SHOMATE && itype != SHOMATE1) { throw CanteraError("ShomateThermo::reportParams", "Thermo type mismatch in high-T polynomial");