uncomplicate / neanderthal

Fast Clojure Matrix Library
http://neanderthal.uncomplicate.org
Eclipse Public License 1.0
1.06k stars 56 forks source link

Fix bug in f> f>= f< f<= 2-arity forms #56

Closed djtango closed 5 years ago

djtango commented 5 years ago
;; BEFORE FIX
uncomplicate.neanderthal.math=> (f< 2 1)
true
uncomplicate.neanderthal.math=> (f> 1 2)
true
uncomplicate.neanderthal.math=> (f<= 2 1)
true
uncomplicate.neanderthal.math=> (f>= 1 2)
true

;; AFTER FIX
uncomplicate.neanderthal.math=> (f< 2 1)
false
uncomplicate.neanderthal.math=> (f<= 2 1)
false
uncomplicate.neanderthal.math=> (f> 1 2)
false
uncomplicate.neanderthal.math=> (f>= 1 2)
blueberry commented 5 years ago

Thank you!