Skip to content

Commit

Permalink
Clean up some white-space
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Mar 29, 2021
1 parent 6d2c6c9 commit 3ea234b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ \subsection{Integer Type}\label{integer-type}
type Integer // Note: Defined with Modelica syntax although predefined
IntegerType $\langle$$\mbox{\emph{value}}$$\rangle$; // Not an attribute; only accessed without dot-notation
parameter StringType quantity = "";
parameter IntegerType min=-Inf, max=+Inf;
parameter IntegerType min = -Inf, max = +Inf;
parameter IntegerType start = 0; // Initial value
parameter BooleanType fixed = true, // default for parameter/constant;
= false; // default for other variables
Expand Down Expand Up @@ -1574,14 +1574,12 @@ \subsubsection{Attributes of Enumeration Types}\label{attributes-of-enumeration-
\begin{lstlisting}[language=modelica]
type E = enumeration(e1, e2, $\ldots$, en);
\end{lstlisting}

a new simple type is conceptually defined as

\begin{lstlisting}[language=modelica]
type E // Note: Defined with Modelica syntax although predefined
EnumType $\langle$$\mbox{\emph{value}}$$\rangle$; // Not an attribute; only accessed without dot-notation
parameter StringType quantity = "";
parameter EnumType min=e1, max=en;
parameter EnumType min = e1, max = en;
parameter EnumType start = e1; // Initial value
parameter BooleanType fixed = true, // default for parameter/constant;
= false; // default for other variables
Expand Down

0 comments on commit 3ea234b

Please sign in to comment.