We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8291e16 commit 2fdd216Copy full SHA for 2fdd216
src/EnergyPlus/ScheduleManager.cc
@@ -2511,6 +2511,10 @@ namespace Sched {
2511
2512
auto const *weekSched = this->weekScheds[thisDayOfYear];
2513
auto const *daySched = (thisHolidayNum > 0) ? weekSched->dayScheds[thisHolidayNum] : weekSched->dayScheds[thisDayOfWeek];
2514
+ if (daySched == nullptr) {
2515
+ // We already warned in ProcessScheduleInput that there were missing days: Missing day types will have 0.0 as Schedule Values
2516
+ return 0.0;
2517
+ }
2518
2519
// If Unspecified or equal to zero, use NumOfTimeStepInHour, otherwise use supplied
2520
if (ts <= 0) {
0 commit comments