arrayfire-python icon indicating copy to clipboard operation
arrayfire-python copied to clipboard

Error

Open nigulasikaochuan opened this issue 7 years ago • 6 comments

I am using arrayfire 3.6 on windows,the code is as below: default 2 we can see the (-5)**2 is 24 which is obvious wrong.

nigulasikaochuan avatar Oct 05 '18 04:10 nigulasikaochuan

@nigulasikaochuan You have to use ArrayFire 3.5.1 with latest release or master of arrayfire-python project. We haven't updated the wrapper to 3.6 yet. Can you try the code with 3.5.1 ArrayFire installation instead and let me know how that goes.

9prady9 avatar Oct 05 '18 04:10 9prady9

I try it in arrayfire 3.5,and the 5**2 still equals to 24, the coda is as below: 10 061242

nigulasikaochuan avatar Oct 06 '18 04:10 nigulasikaochuan

@nigulasikaochuan I was able to reproduce it in current development branch as well. I have sent in a PR already https://github.com/arrayfire/arrayfire/pull/2305

9prady9 avatar Oct 06 '18 04:10 9prady9

Ok,thanks for your effort,and i want to konw when the python wrapper will support arrayfire 3.6

nigulasikaochuan avatar Oct 06 '18 08:10 nigulasikaochuan

@nigulasikaochuan I think it will take a while before anyone from our team gets to it as we are occupied with other tasks from the priority list.

I haven't worked on python wrapper that much but I will try to look into it. If it can be done with minimal changes, I will try to get it out in couple of weeks.

9prady9 avatar Oct 06 '18 08:10 9prady9

This has been fixed in upsteam https://github.com/arrayfire/arrayfire/pull/2305 . @nigulasikaochuan You can get the fix by directly building from master branch or either wait for next fix release.

9prady9 avatar Oct 17 '18 07:10 9prady9