Commit ec904edb authored by Sébastien Villemot's avatar Sébastien Villemot

The log method no longer errors out on non-positive values

For a zero, it returns -Inf.
For a negative number, it returns NaN.

This is not exactly the same behavior as MATLAB's log function, because we want
to enforce type stability (i.e. never return a complex).
parent b3fc74a2
Pipeline #512 passed with stage
in 1 minute and 7 seconds