Skip to content

Commit

Permalink
Fix syntax errors in ModelicaReference documentation snippets.
Browse files Browse the repository at this point in the history
  • Loading branch information
maltelenz authored and beutlich committed Jan 27, 2024
1 parent 6f2b020 commit 494e5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModelicaReference/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,7 @@ a component, according to case (d) above:
<strong>algorithm</strong>
// Case (b) and (c)
integral := quadrature(x1, x2,
<strong>function</strong> quadratureOnce(y1=y1, y2=y2, integrand=integrand);
<strong>function</strong> quadratureOnce(y1=y1, y2=y2, integrand=integrand));
<strong>end</strong> surfaceQuadrature;
</pre></blockquote>
</html>"));
Expand Down Expand Up @@ -2238,7 +2238,7 @@ to the corresponding formal parameter of function type. Example:
<strong>function</strong> Parabola
<strong>extends</strong> Integrand;
<strong>algorithm</strong>
y = x*x;
y := x*x;
<strong>end</strong> Parabola;

area = quadrature(0, 1, Parabola);
Expand Down

0 comments on commit 494e5e2

Please sign in to comment.