Skip to content

Commit

Permalink
Closes #2224
Browse files Browse the repository at this point in the history
Correct grammar for experiment, and specify default for StartTime.
  • Loading branch information
HansOlsson committed May 10, 2019
1 parent bae3738 commit eed940d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ \section{Annotations for Code Generation}\doublelabel{annotations-for-code-gener
\section{Annotations for Simulation Experiments}\doublelabel{annotations-for-simulation-experiments}
\begin{lstlisting}[language=grammar]
experiment-annotation:
annotation"(" "experiment" "(" [experimentOption] {,
experimentOption}] ")"
annotation "(" "experiment" [ "(" [experimentOption
{"," experimentOption}] ")" ] ")"

experimentOption:
StartTime "=" [ "+" | "-" ] UNSIGNED-NUMBER |
Expand All @@ -253,7 +253,7 @@ \section{Annotations for Simulation Experiments}\doublelabel{annotations-for-sim
{[}s{]}, the default stop time (StopTime) in {[}s{]}, the suitable time
resolution for the result grid (Interval) in {[}s{]}, and the default
relative integration tolerance (Tolerance) for simulation experiments to
be carried out with the model or block at hand.
be carried out with the model or block at hand. If StartTime is not specified it is assumed to be 0.0.

\section{Annotation for single use of class}\doublelabel{annotation-for-single-use-of-class}

Expand Down

0 comments on commit eed940d

Please sign in to comment.