Skip to content

Commit f645259

Browse files
committed
Merge remote-tracking branch 'origin/torfjelde/returned-quantities-macro' into torfjelde/returned-quantities-macro
2 parents 1f70dfc + 0e05901 commit f645259

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/model.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -1362,8 +1362,8 @@ julia> @varname(x) in keys(vi)
13621362
true
13631363
```
13641364
1365-
Variable `a` is not tracked since it can be computed from the random variable `x` that was
1366-
tracked when running `demo1`:
1365+
The variable `a` is not tracked. However, it will be assigned the return value of `demo1`,
1366+
and can be used in subsequent lines of the model, as shown above.
13671367
```jldoctest submodel-to_submodel
13681368
julia> @varname(a) in keys(vi)
13691369
false
@@ -1404,8 +1404,8 @@ julia> @varname(var"sub2.x") in keys(vi)
14041404
true
14051405
```
14061406
1407-
Variables `a` and `b` are not tracked since they can be computed from the random variables `sub1.x` and
1408-
`sub2.x` that were tracked when running `demo1`:
1407+
Variables `a` and `b` are not tracked, but are assigned the return values of the respective
1408+
calls to `demo1`:
14091409
```jldoctest submodel-to_submodel-prefix
14101410
julia> @varname(a) in keys(vi)
14111411
false

0 commit comments

Comments
 (0)