From 86793c71c3bf67e1e38ace972ea243a6cf2cc103 Mon Sep 17 00:00:00 2001 From: Filip Jorissen Date: Sat, 30 Mar 2024 12:07:41 +0100 Subject: [PATCH] documentation for #1860 --- IBPSA/Resources/C-Sources/WeeklySchedule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IBPSA/Resources/C-Sources/WeeklySchedule.c b/IBPSA/Resources/C-Sources/WeeklySchedule.c index 14d5b35ee3..b01fff0b5d 100644 --- a/IBPSA/Resources/C-Sources/WeeklySchedule.c +++ b/IBPSA/Resources/C-Sources/WeeklySchedule.c @@ -514,7 +514,7 @@ double getScheduleValue(void * ID, const int column, const double modelicaTime) int i; const int columnIndex = column - 1; /* Since we do not store the time indices in the data table */ - /* Not using FreeModelicaFormatError() below since weeklyScheduleFreeInit() has been called at the end of the + /* Not calling weeklyScheduleFreeInit() or weeklyScheduleFree() since weeklyScheduleFreeInit() has already been called at the end of the initialization and Modelica will call weeklyScheduleFree() upon a call of ModelicaFormatError) */ if (column < 0 || column > scheduleID->n_cols_in - 1) { ModelicaFormatError("The requested column index '%i' is outside of the table range.", column + 1);