Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Add spaces

Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Mar 4, 2022
1 parent 98e1696 commit b8ea1a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapters/annotations.tex
Expand Up @@ -1323,9 +1323,9 @@ \section{Graphical User Interface}\label{annotations-for-the-graphical-user-inte
This can be used for components that implement mixing of fluids where it is not desired to combine that with the normal stream-connector mixing.
\begin{lstlisting}[language=modelica]
model MultiPort
parameter Integer n=0 annotation(Dialog(connectorSizing=true));
FluidPort_a port_a(redeclare package Medium=Medium);
FluidPorts_b ports_b[n](redeclare each package Medium=Medium)
parameter Integer n = 0 annotation(Dialog(connectorSizing = true));
FluidPort_a port_a(redeclare package Medium = Medium);
FluidPorts_b ports_b[n](redeclare each package Medium = Medium)
annotation (mayOnlyConnectOnce = "Should only connect once per element!");
$\ldots$
end MultiPort;
Expand Down

0 comments on commit b8ea1a2

Please sign in to comment.