Skip to content

Commit 2b30d57

Browse files
Update core.py
1 parent 5a70de2 commit 2b30d57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ment/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def __init__(
122122
Prior distribution over the **normalized** phase space coordinates z = V^-1 x.
123123
Must implement `prior.prob(z: np.ndarray) -> np.ndarray`.
124124
sampler : Callable
125-
Calling `sampler(f, n)` generates n samples from the function f.
125+
Calling `sampler(prob, n)` generates `n` samples from the probability
126+
density function `prob`.
126127
nsamp : int
127128
Number of samples to use when computing projections. Only relevant if
128129
`self.mode=="sample".

0 commit comments

Comments
 (0)