Skip to content

Commit

Permalink
Update chapters/functions.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Dec 10, 2021
1 parent dcfbdd7 commit d54469b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/functions.tex
Expand Up @@ -316,7 +316,7 @@ \section{Pure Modelica Functions}\label{pure-modelica-functions}
A \lstinline!when!-statement.
\item
\lstinline!pure(impureFunction($\ldots$))! -- which allows calling impure functions in any pure context.
Note that the argument to \lstinline!pure! must be a function call, it only applies to the call and not to the arguments of the function call.
The wrapping in \lstinline!pure($\ldots$)! only by-passes the purity checking of the callee \lstinline!impureFunction!; the argument expressions of the function call are not affected.
\item
Initial equations and initial algorithms.
\item
Expand Down

0 comments on commit d54469b

Please sign in to comment.