Skip to content

Commit

Permalink
Merge pull request #745 from duncandc/utils_devel
Browse files Browse the repository at this point in the history
A proposed fix to an ambiguity in the description of crossmatch() utility function
  • Loading branch information
aphearin authored May 1, 2017
2 parents 36eca27 + 73e7558 commit 8be977e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions halotools/utils/crossmatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ def crossmatch(x, y, skip_bounds_checking=False):
Integer array used to apply a mask to y
such that x[idx_x] == y[idx_y]
Notes
-----
The matching between ``x`` and ``y`` is done on the sorted arrays. A consequence of
this is that x[idx_x] and y[idx_y] will generally be a subset of ``x`` and ``y`` in
sorted order.
Examples
--------
Let's create some fake data to demonstrate basic usage of the function.
Expand Down

0 comments on commit 8be977e

Please sign in to comment.