On top of that, multiplication isn’t guaranteed to set the elements to 0:
julia> (-Inf, Inf, NaN) .* 0
(NaN, NaN, NaN)
On top of that, multiplication isn’t guaranteed to set the elements to 0:
julia> (-Inf, Inf, NaN) .* 0
(NaN, NaN, NaN)