Skip to content

Commit b3d70c4

Browse files
committed
Mention addl arg
1 parent d0f406d commit b3d70c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/index.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -1069,13 +1069,14 @@ <h4>hint(e, v)</h4>
10691069

10701070
<h3>Other expressions</h3>
10711071

1072-
<h4>new Global(f)</h4>
1072+
<h4>new Global(f, name)</h4>
10731073
<p>
10741074
The class <code>Global</code> represents an expression whose value may change but which is
10751075
not affected by any variables that are solved for. Its value is provided by a function <code>f</code>
10761076
passed to the constructor. The function is expected to return a number or array of numbers.
10771077
This class is used to interface Constrain diagrams with external data sources such as the user
1078-
interface.
1078+
interface. The optional argument <code>name</code> can be used to give the global a name, for
1079+
debugging purposes.
10791080
</p>
10801081

10811082
<h4>new DebugExpr(e)</h4>

0 commit comments

Comments
 (0)