Enable warn on boxed
This commit is contained in:
parent
764b23e68e
commit
c7877ac73a
1 changed files with 3 additions and 1 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue