Skip to content

Commit

Permalink
Use CALL()
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sommer committed Nov 24, 2023
1 parent 50b236b commit b3fe853
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fmi3Functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ fmi3Status fmi3SetContinuousStates(fmi3Instance instance,

ASSERT_NOT_NULL(continuousStates);

return setContinuousStates(S, continuousStates, nContinuousStates);
CALL(setContinuousStates(S, continuousStates, nContinuousStates));
#else
UNUSED(continuousStates);
UNUSED(nContinuousStates);
Expand All @@ -1206,7 +1206,7 @@ fmi3Status fmi3GetContinuousStateDerivatives(fmi3Instance instance,
if (nullPointer(S, "fmi3GetContinuousStateDerivatives", "derivatives[]", derivatives))
return fmi3Error;

return getDerivatives(S, derivatives, nContinuousStates);
CALL(getDerivatives(S, derivatives, nContinuousStates));
#else
UNUSED(derivatives);
UNUSED(nContinuousStates);
Expand Down Expand Up @@ -1256,7 +1256,7 @@ fmi3Status fmi3GetContinuousStates(fmi3Instance instance,
if (nullPointer(S, "fmi3GetContinuousStates", "continuousStates[]", continuousStates))
return fmi3Error;

return getContinuousStates(S, continuousStates, nContinuousStates);
CALL(getContinuousStates(S, continuousStates, nContinuousStates));
#else
UNUSED(continuousStates);
UNUSED(nContinuousStates);
Expand Down

0 comments on commit b3fe853

Please sign in to comment.