Skip to content

Commit 2fcf35d

Browse files
committed
Corrected the wrap explanation
1 parent 744267e commit 2fcf35d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycorr/twopoint_jackknife.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ def __init__(self, positions=None, boxsize=None, boxcenter=None, nsamples=8, pos
130130
- "pos": Cartesian positions, shape (N, 3).
131131
132132
wrap : bool, default=False
133-
Whether to wrap input positions in [0, boxsize[?
134-
If ``False`` and input positions do not fit in the the box size, raise a :class:`ValueError`.
133+
Whether to wrap input positions in [boxcenter - boxsize/2, boxcenter + boxsize/2).
134+
If ``False`` and input positions do not fit in that range, raise a :class:`ValueError`.
135135
136136
dtype : string, np.dtype, default=None
137137
Array type for positions and weights.

0 commit comments

Comments
 (0)