You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Change normalize guard from `< EPSILON` to `<= 0.0` - only return zero
vector for actual zero magnitude, not near-zero values
- Use `val.abs` with EPSILON threshold for singular values to handle
small negative values from floating point errors more robustly
- Update test to reflect correct behavior: near-zero vectors normalize
to unit vectors, only true zero vectors return zero
0 commit comments