From fac7b03b0c9ac3c1be7630beaade6ee58fb7a1d0 Mon Sep 17 00:00:00 2001 From: Lee Spector Date: Tue, 7 Nov 2023 20:05:01 -0500 Subject: [PATCH] Fix definition of E --- src/propeller/tools/math.cljc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/propeller/tools/math.cljc b/src/propeller/tools/math.cljc index 6102316..d3be7ca 100644 --- a/src/propeller/tools/math.cljc +++ b/src/propeller/tools/math.cljc @@ -5,7 +5,7 @@ :cljs js/Math.PI)) (defonce ^{:no-doc true :const true} E #?(:clj Math/E - :cljs js/Math.PI)) + :cljs js/Math.E)) (defn step "returns 1 if number is nonzero, 0 otherwise" @@ -141,4 +141,4 @@ (defn transpose "returns a vector containing the transpose of a coll of colls" [x] - (apply map vector x)) \ No newline at end of file + (apply map vector x))