Skip to content

Commit

Permalink
Added zero as default timePoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Sep 21, 2016
1 parent 7c98eac commit f0f37a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/ModelicaBuiltin.mo
Expand Up @@ -2796,7 +2796,7 @@ end checkCodeGraph;

function val "Return the value of a variable at a given time in the simulation results"
input VariableName var;
input Real timePoint;
input Real timePoint = 0.0;
input String fileName = "<default>" "The contents of the currentSimulationResult variable";
output Real valAtTime;
external "builtin";
Expand Down

0 comments on commit f0f37a3

Please sign in to comment.