Enable warn on boxed

This commit is contained in:
Chris Nuernberger 2023-01-13 08:07:08 -07:00
commit c7877ac73a

View file

@ -1,6 +1,8 @@
(ns leibniz)
(defn calc-pi-leibniz
(set! *unchecked-math* :warn-on-boxed)
(defn calc-pi-leibniz
"Translation of Java solution to Clojure"
[^long rounds]
(let [end (+ 2 rounds)]