Skip to content

Commit

Permalink
Update chapters/functions.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Nov 4, 2021
1 parent 29745d8 commit f2a3bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/functions.tex
Expand Up @@ -131,7 +131,7 @@ \subsection{Inheritance of Functions}\label{inheritance-of-functions}
algorithm
y := x1 + x2;
end foo;
Real x=time;
Real x = time;
function f1 = foo(x1 = x);
constant Real z = f1(x2 = 1); // Illegal since 'x' is seen as argument
constant Real z2 = f1(x1 = 2); // Legal, since 'x1' has a new value.
Expand Down

0 comments on commit f2a3bf5

Please sign in to comment.