-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use extended comparison operators to define weak order on real/comple…
…x FP types We use extended comparison operators compatible with NumPy's behavior: https://numpy.org/devdocs/reference/generated/numpy.sort.html Specifically, we use [R, nan] block ordering for reals, and [(R, R), (R, nan), (nan, R), (nan, nan)] for complexes.
- Loading branch information
1 parent
08e5dac
commit a3d0d08
Showing
1 changed file
with
68 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters