diff --git a/src/EnergyPlus/TARCOGMain.hh b/src/EnergyPlus/TARCOGMain.hh index a81dacebd3e..33ba1965593 100644 --- a/src/EnergyPlus/TARCOGMain.hh +++ b/src/EnergyPlus/TARCOGMain.hh @@ -188,12 +188,12 @@ struct TARCOGMainData : BaseGlobalStruct void clear_state() override { - sconTemp.clear(); - thickTemp.clear(); + sconTemp = Array1D(TARCOGParams::maxlay); + thickTemp = Array1D(TARCOGParams::maxlay); converged = false; - told.clear(); - CurGap.clear(); - GapDefMean.clear(); + told = Array1D(TARCOGParams::maxlay2); + CurGap = Array1D(TARCOGParams::MaxGap); + GapDefMean = Array1D(TARCOGParams::MaxGap); }; }; } // namespace EnergyPlus