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
The documentation states that divideScalar will set the vector to zero if the input is zero, but actually it gets set to NaN. Is documentation wrong or the code? I'd be happy to submit a PR either way. Thanks!
Describe the bug
The documentation states that divideScalar will set the vector to zero if the input is zero, but actually it gets set to NaN. Is documentation wrong or the code? I'd be happy to submit a PR either way. Thanks!
To Reproduce
Steps to reproduce the behavior:
Code
Live example
Expected behavior
Either it does not generate NaN or the documentation is changed.
Platform:
The text was updated successfully, but these errors were encountered: