Skip to content
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

Reshape bug (Column Order) #15

Closed
jjjkkkjjj opened this issue Jul 23, 2020 · 0 comments
Closed

Reshape bug (Column Order) #15

jjjkkkjjj opened this issue Jul 23, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@jjjkkkjjj
Copy link
Owner

let a = MfArray([[1, 3, 5],
                             [2, -4, -1]], mforder: .Column)
print(a.reshape([3, 1, 2]))
/*
mfarray = 
[[[	1,		2]],

[[	3,		-4]],

[[	5,		-1]]], type=Int, shape=[3, 1, 2]
*/

but must be

array([[[ 1,  3]],

       [[ 5,  2]],

       [[-4, -1]]])
@jjjkkkjjj jjjkkkjjj added the bug Something isn't working label Jul 23, 2020
jjjkkkjjj pushed a commit that referenced this issue Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant