Skip to content

Commit

Permalink
Fix description of "proposes to not inline"
Browse files Browse the repository at this point in the history
This fixes a regression introduced after 3.4.
  • Loading branch information
henrikt-ma committed Mar 15, 2021
1 parent aad77fe commit 651bd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/annotations.tex
Expand Up @@ -398,7 +398,7 @@ \section{Annotations for Code Generation}\label{annotations-for-code-generation}

If \lstinline!Inline = true!, the model developer proposes to inline the function. This means, that the body of the function is included at all places where the function is called.

If \lstinline!Inline = true!, the model developer proposes to not inline the function.
If \lstinline!Inline = false!, the model developer proposes to not inline the function.

\begin{nonnormative}
\lstinline!Inline = true! is for example used in \lstinline!Modelica.Mechanics.MultiBody.Frames! and in functions of \lstinline!Modelica.Media! to have no overhead for function calls such as resolving a vector in a different coordinate system and at the same time the function can be analytically differentiated, e.g., for index reduction needed for mechanical systems.
Expand Down

0 comments on commit 651bd70

Please sign in to comment.