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
foo is simply adding a and b, while no_copy and with_copy aim to take in a matrix and add the elements of the first two columns in each row, but only with_copy gives the expected result.
I'm not familiar with how ufuncify works. It seems that without np.copy, ufuncify does not pass a sliced array to cython correctly?
The text was updated successfully, but these errors were encountered:
Hi, please see the following code:
foo
is simply addinga
andb
, whileno_copy
andwith_copy
aim to take in a matrix and add the elements of the first two columns in each row, but onlywith_copy
gives the expected result.I'm not familiar with how
ufuncify
works. It seems that withoutnp.copy
,ufuncify
does not pass a sliced array tocython
correctly?The text was updated successfully, but these errors were encountered: