-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetData gives incorrect results #29
Comments
change main to
and you see that GetData2D may be the issue |
Command line output: In: Out: |
ArrayFire is a column major library so consecutive values across the column are going to be represented as consecutive values in memory. The values returned by the array seems correct but the shape seems to be off. I think the IndexArray and ArrayToString need to be reworked to take this into account. If you look at the In array, the values already seem to be transposed. |
The Matrix.Transpose method seems to be broken for nonsquare arrays.
Example code to produce the error is shown below. It seems that transpose assumes that the incoming matrix dimensions are switched perhaps.
Program.txt
The text was updated successfully, but these errors were encountered: