lspector / propeller

Yet another Push-based genetic programming system in Clojure
Eclipse Public License 2.0
30 stars 22 forks source link

`e` is defined to be `pi` for ClojureScript #64

Closed NicMcPhee closed 1 year ago

NicMcPhee commented 1 year ago

In math.cljc, e is incorrectly defined for ClojureScript, presumably due to a copy/paste error:

(defonce ^{:no-doc true :const true} E #?(:clj  Math/E
              :cljs js/Math.PI))
lspector commented 1 year ago

Oy. Thanks! Fixed.