Skip to content

Commit 1b1adc8

Browse files
committed
Fix overriding warning on 1.11
1 parent 085271c commit 1b1adc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/postmortem/xforms.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
(do (vreset! prev v)
7272
(rf acc input)))))))))
7373

74-
(defn- abs ^double [^double x]
74+
(defn- abs* ^double [^double x]
7575
#?(:clj (Math/abs x)
7676
:cljs (js/Math.abs x)))
7777

@@ -87,7 +87,7 @@
8787
(let [p @prev
8888
v (f input)]
8989
(if (or (= p ::none)
90-
(>= (abs (- v p)) interval))
90+
(>= (abs* (- v p)) interval))
9191
(do (vreset! prev v)
9292
(rf acc input))
9393
acc))))))))

0 commit comments

Comments
 (0)