Closed ricardoV94 closed 7 months ago
I am actually surprised it breaks there and not in the reshaping part. The culprit is clearly this line:
https://github.com/pymc-devs/pymc/blob/6252d2e58dc211c913ee2e652a4058d271d48bbd/pymc/util.py#L253
we transpose the dataarray to have everything work independently of the dimension order, but then the reshape uses the yet-to-be-transposed dataarray to get the shape of the final array.
Description
CC @OriolAbril