mlx icon indicating copy to clipboard operation
mlx copied to clipboard

Safely divide for 0 size inputs

Open awni opened this issue 1 year ago • 0 comments

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

awni avatar Jan 06 '24 14:01 awni