E8002 Math Errors

log-non-positive

logarithm requires positive number

When this occurs

`math.log(0)` or `math.log(-1)`

Example error message

error[E8002]: math.log() requires positive number

How to fix

Pass a positive number (greater than zero) to logarithm functions.

Related errors