Skip to content

Commit

Permalink
Merge pull request #3142 from henrikt-ma/noevent-inside-functions
Browse files Browse the repository at this point in the history
Make it more clear that noEvent can make a difference inside functions
  • Loading branch information
HansOlsson committed Mar 28, 2022
2 parents 4ece488 + 4f538c2 commit 9c2cc6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chapters/operatorsandexpressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,7 @@ \subsection{Event-Related Operators with Function Syntax}\label{event-related-op
\begin{semantics}
\lstinline!Real! elementary relations within $\mathit{expr}$ are taken literally, i.e., no state or time event is triggered.
No zero crossing functions shall be used to monitor any of the normally event-generating subexpressions inside $\mathit{expr}$.
Inside functions, \lstinline!noEvent! only makes a difference in combination with the function annotation \lstinline!GenerateEvents = true! (see \cref{modelica:GenerateEvents}).
See also \crefnameref{modelica:smooth} and \cref{events-and-synchronization}.
\end{semantics}
\end{operatordefinition}
Expand Down

0 comments on commit 9c2cc6e

Please sign in to comment.