Skip to content

Commit

Permalink
Cleanup related to 'terminate'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Oct 13, 2020
1 parent 76bac4b commit b0570f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/equations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,10 @@ \subsection{terminate}\label{terminate}
finalized or at an event instant after the event handling has been
completed before restarting the integration.

The terminate clause has a string argument indicating the reason for the success.
The \lstinline!terminate! statement has a string argument indicating the reason for the success.

\begin{example}
The intention of the terminate clause is to give more complex stopping criteria than a fixed point in time:
The intention of the \lstinline!terminate! statement is to give more complex stopping criteria than a fixed point in time:
\begin{lstlisting}[language=modelica]
model ThrowingBall
Real x(start=0);
Expand Down

0 comments on commit b0570f0

Please sign in to comment.