Skip to content

Commit

Permalink
test interval() without argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke committed Oct 14, 2015
1 parent d6113ef commit 18ff445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmodelica/cppruntime/clockedTest.mos
Expand Up @@ -19,7 +19,7 @@ model DID \"Double Integrator Discrete-time\"
equation
ud = sample(u, Clock(dt));
xd1 = previous(xd1) + p * ud * interval(ud);
xd2 = previous(xd2) + previous(xd1) * interval(xd1) + 0.5 * ud * interval(ud)^2;
xd2 = previous(xd2) + previous(xd1) * interval(xd1) + 0.5 * ud * interval()^2;
y1 = hold(previous(xd1));
y2 = hold(previous(xd2));
end DID;
Expand Down

0 comments on commit 18ff445

Please sign in to comment.