Skip to content

Commit

Permalink
Change some hyphens to commas
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Aug 4, 2020
1 parent 2e1eba0 commit c58a1ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chapters/equations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ \section{Synchronous Data-flow Principle and Single Assignment Rule}\doublelabel
\begin{enumerate}
\item Discrete variables keep their actual values until these variables are explicitly changed.
Differentiated variables have \lstinline!der(x)! corresponding to the time-derivative of \lstinline!x!,
and \lstinline!x! is continuous, except when reinit is triggered - see \autoref{reinit}.
and \lstinline!x! is continuous, except when \lstinline!reinit! is triggered, see \autoref{reinit}.
Variable values can be accessed at any time instant during continuous integration and at event instants.

\item At every time instant, during continuous integration and at event instants,
Expand Down
2 changes: 1 addition & 1 deletion chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ \subsection{Partial Derivatives of Functions}\doublelabel{partial-derivatives-of
The semantics is that a function (and only a function) can be
specified in this form, defining that it is the partial derivative of
the function to the right of the equal sign (looked up in the same way
as a short class definition - the looked up name must be a function),
as a short class definition, and the looked up name must be a function),
and partially differentiated with respect to each \lstinline!IDENT! in order
(starting from the first one). The \lstinline!IDENT! must be Real inputs to the
function.
Expand Down
2 changes: 1 addition & 1 deletion chapters/inheritance.tex
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ \subsection{Constraining Type}\doublelabel{constraining-type}
\end{lstlisting}

\lstinline!Circuit2! is intended to illustrate that a user can still select
any resistor model, including the original one - as is done in \lstinline!Circuit3!,
any resistor model (including the original one, as is done in \lstinline!Circuit3!),
since the constraining type is kept from the original declaration if not
specified in the redeclare. Thus it is easy to select an advanced
resistor model, without limiting the possible future changes.
Expand Down
2 changes: 1 addition & 1 deletion chapters/stream.tex
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ \section{Stream Operator inStream and Connection Equations}\doublelabel{stream-o
\end{lstlisting}
More sophisticated implementation, with smooth approximation, applied only when {all} flows are small:
\begin{lstlisting}[language=modelica,escapechar=!]
// Define a "small number" eps (nominal(v) is the nominal value of v - see !\autoref{attributes-start-fixed-nominal-and-unbounded}!)
// Define a "small number" eps (nominal(v) is the nominal value of v, see !\autoref{attributes-start-fixed-nominal-and-unbounded}!)
eps := relativeTolerance*min(nominal($m_j$.c.m_flow));

// Define a smooth curve, such that alpha($s_i>=eps$)=1 and alpha($s_i<0$)=0
Expand Down

0 comments on commit c58a1ca

Please sign in to comment.