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
0.5 removed the transpose(x) = x fallback, and transpose is recursive. There are lots of discussions about whether to keep this behavior going forward, e.g. JuliaLang/julia#21037.
For now, the right thing is to do permutedims(A, (2,1)) when you just want to swap the dimensions and not call transpose recursively.
Hi all,
I'm porting some code from ancient 0.4.7 to brand new 0.6 and I ran into the following issue:
Doesn't work anymore, it fails with error:
ERROR: MethodError: no method matching transpose(::PyCall.PyObject)
.Should I implement something like
transpose(x::PyObject) = x
or is there a better solution?The text was updated successfully, but these errors were encountered: