mikera / vectorz-clj

Fast matrix and vector maths library for Clojure - as a core.matrix implementation
203 stars 19 forks source link

emin returns 1.7976931348623157E308 when minimum is Infinity #73

Open lunik1 opened 3 years ago

lunik1 commented 3 years ago

The emin function in 0.48.0 returns 1.7976931348623157E308 (max double) when the minimum of a matrix is, in fact, Infinity.

Quick example:

(-> [##Inf] matrix/matrix matrix/emin)

returns 1.7976931348623157E308.