Skip to content

Commit

Permalink
Remove excess argument from logError()
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sommer committed Aug 5, 2024
1 parent fa19d1a commit e685261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StateSpace/model.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Status setFloat64(ModelInstance* comp, ValueReference vr, const double values[],
break;
case vr_x:
if (comp->state != ContinuousTimeMode && comp->state != EventMode) {
logError(comp, "Variable \"x\" can only be set in Continuous Time Mode and Event Mode.", vr);
logError(comp, "Variable \"x\" can only be set in Continuous Time Mode and Event Mode.");
return Error;
}
ASSERT_NVALUES((size_t)M(n));
Expand Down

0 comments on commit e685261

Please sign in to comment.