Skip to content

Commit 0c7291e

Browse files
committed
Make NaN compare less than or equal to NaN in ordering functions
1 parent c13c9a1 commit 0c7291e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/bqn.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/r1.bqn

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ _perv←{ # Pervasion
8181
}
8282

8383
# Sorting
84-
CLE ← (·=˜)≤≤ # Place NaNs after other numbers
84+
CLE ← (<@·=˜)≤≤ # Place NaNs after other numbers
8585
Cmp0CLE˜-CLE
8686
Cmp1 ← (0<1×´)1, IsArray(1-2×≤)‿{𝕨Cmp1𝕩}(0⊑⥊)⟩
8787
CmpLen ← {

0 commit comments

Comments
 (0)