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 get() method does not throw an error when using floating point numbers for the array indices. I know that it's kind of obvious to not do this, but I ran into a bug that was quite difficult to trace because the ndarray was returning data that seemed valid, but was just sometimes wrong.
Throwing an error when floating point numbers are used to access data seems quite helpful. I assume that this goes for the set method as well (and maybe others).
The text was updated successfully, but these errors were encountered:
spneshaei
added a commit
to spneshaei/ndarray
that referenced
this issue
Jan 29, 2022
The
get()
method does not throw an error when using floating point numbers for the array indices. I know that it's kind of obvious to not do this, but I ran into a bug that was quite difficult to trace because the ndarray was returning data that seemed valid, but was just sometimes wrong.Throwing an error when floating point numbers are used to access data seems quite helpful. I assume that this goes for the
set
method as well (and maybe others).The text was updated successfully, but these errors were encountered: