Skip to content

Commit

Permalink
Say 'applied to', not 'applied on'
Browse files Browse the repository at this point in the history
There are also situations where 'applied on' is correct, but I don't think we have any of these in the specification.
  • Loading branch information
henrikt-ma committed Oct 11, 2020
1 parent e1cdb22 commit 385bed4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chapters/equations.tex
Expand Up @@ -438,7 +438,7 @@ \subsection{reinit}\label{reinit}
such a way that variables with an applied \lstinline!reinit! are
selected as states at least when the corresponding when-clauses become
active. If this is not possible, an error occurs, since otherwise
\lstinline!reinit! would be applied on a non-state variable.
\lstinline!reinit! would be applied to a non-state variable.

Example for the usage of \lstinline!reinit! (bouncing ball):
\begin{lstlisting}[language=modelica]
Expand Down
4 changes: 2 additions & 2 deletions chapters/synchronous.tex
Expand Up @@ -1182,7 +1182,7 @@ \subsection{Solver Methods}\label{solver-methods}
\dot{x} &= f(x, u, t)\\
y &= g(x, u, t)
\end{align*}
A solver method is applied on a subclock partition. Such a partition has
A solver method is applied to a subclock partition. Such a partition has
explicit inputs $u$ marked by \lstinline!sample($u$)!,
\lstinline!subSample($u$)!, \lstinline!superSample($u$)!, \lstinline!shiftSample($u$)!
and/or \lstinline!backSample($u$)!. Furthermore, the outputs $y$ of
Expand Down Expand Up @@ -1368,7 +1368,7 @@ \section{Initialization of Clocked Partitions}\label{initialization-of-clocked-p
Clocked discrete-time variables cannot be used in initial equation or
initial algorithm sections.
\item
Attribute \lstinline!fixed! cannot be applied on clocked discrete-time
Attribute \lstinline!fixed! cannot be applied to clocked discrete-time
variables. The attribute \lstinline!fixed! is true for variables to which
\lstinline!previous! is applied, otherwise false.
\end{itemize}
Expand Down

0 comments on commit 385bed4

Please sign in to comment.