Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Mar 23, 2024
1 parent b73e90b commit 0a3a757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/cs_reconfiguration.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int main(int argc, char* argv[]) {
vr[1] = vr_n; p[1] = 0; // number of states
vr[2] = vr_r; p[2] = 2; // number of outputs

CALL(FMI3SetUInt64(S, vr, 3, &p, 3));
CALL(FMI3SetUInt64(S, vr, 3, p, 3));

CALL(FMI3ExitConfigurationMode(S));

Expand All @@ -53,7 +53,7 @@ int main(int argc, char* argv[]) {

CALL(FMI3SetFloat64(S, vr, 1, D, 4));

// intial inputs
// initial inputs
vr[0] = vr_u;
u[0] = 0.0;
u[1] = 1.0;
Expand Down

0 comments on commit 0a3a757

Please sign in to comment.