Skip to content

Commit 39e5472

Browse files
committed
Modifying docs
1 parent 35a92ac commit 39e5472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/grading_math/sampling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Sample from any discrete set of values that are specified in a tuple. A single v
242242

243243
### DependentSampler
244244

245-
Compute a value for a variable based on the values of other constants/variables. The sampler is simply initialized with the desired formula, which can use any base or user-defined functions (except for randomly sampled functions, see below). `DependentSampler`s can depend on other dependent variables. If you construct a self-referential chain, an error will occur. Note that `DependentSampler` can depend on vector/matrix quantities as well as scalars. You can even use sibling variables in a `DependentSampler`.
245+
Compute a value for a variable based on the values of other constants/variables. The sampler is simply initialized with the desired formula, which can use any base or user-defined functions (except for randomly sampled functions, see below). `DependentSampler`s can depend on other dependent variables. If you construct a self-referential chain, an error will occur. Note that `DependentSampler` can depend on vector/matrix quantities as well as scalars. You can even use sibling variables in a `DependentSampler` (but if you do so, we strongly recommend making such variables instructor variables!).
246246

247247
```pycon
248248
>>> # Set radius based on the random values of x, y and z

0 commit comments

Comments
 (0)