Skip to content

Commit

Permalink
documentation for #1860
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathadon committed Mar 30, 2024
1 parent 98daf03 commit 86793c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IBPSA/Resources/C-Sources/WeeklySchedule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 86793c7

Please sign in to comment.