Skip to content

Commit

Permalink
Update chapters/packages.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Beutlich <modelica@tbeu.de>
  • Loading branch information
HansOlsson and beutlich committed Jan 2, 2023
1 parent 1547157 commit e44b204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/packages.tex
Expand Up @@ -475,7 +475,7 @@ \section{Multilingual Descriptions}\label{multilingual-descriptions}
within MyPackage.Sources;
model Sine "Sine"
parameter Frequency f=2 "Frequency";
RealOutput y=sin(2*pi*f); // Relying on imported types
RealOutput y=sin(2*pi*f*time); // Relying on imported types
/* Could add details. Note that this is not translated */
annotation(Icon(graphics={Text(extent={{0,0},{40,40}},
textString="Frequency: %f")}));
Expand Down

0 comments on commit e44b204

Please sign in to comment.