mlx
mlx copied to clipboard
Safely divide for 0 size inputs
Proposed changes
In general this seemed to be fine (as 0 was output for 0/0) but since it's compiler specific / undefined, add a check for 0 in the denom.
Hopefully fixes #338