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
>>> A = np.array([2**63, 2**63+1], dtype=np.uint64)
>>> sum_up(A)
1.8446744073709552e+19
It seems like A is being converted to a f64, and then addition is carried out. (For reference, A.sum() = 1.) I thought that the TypeMustMatch means that the array's dtype must be f64.
Either I'm misunderstanding TypeMustMatch or perhaps there is a bug here?
The text was updated successfully, but these errors were encountered:
Hi! I have a question about why the following code seems to work without throwing an assert error.
On the Rust side:
On the python side
It seems like
A
is being converted to af64
, and then addition is carried out. (For reference,A.sum() = 1
.) I thought that theTypeMustMatch
means that the array's dtype must be f64.Either I'm misunderstanding
TypeMustMatch
or perhaps there is a bug here?The text was updated successfully, but these errors were encountered: