Skip to content

Commit 4814435

Browse files
committed
remove integer validation in PV -find
1 parent 42c2e85 commit 4814435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/core.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5232,7 +5232,7 @@ reduces them without incurring seq initialization"
52325232

52335233
IFind
52345234
(-find [coll n]
5235-
(when (and (== n (bit-or n 0)) (<= 0 n) (< n cnt))
5235+
(when (and (<= 0 n) (< n cnt))
52365236
[n (aget (unchecked-array-for coll n) (bit-and n 0x01f))]))
52375237

52385238
APersistentVector

0 commit comments

Comments
 (0)