Commit c941c47
committed
BUG: Fixed issue/37
See #37
As noted by the reported, the logic of _remove_axes was not right.
We always have to remove the last axis (since _cook_nd_args rearranges
it that way), but upon remove of the axis, we have to decrease all
the axis higher than the pivot by one, since we take part at the pivot.1 parent ef665fb commit c941c47
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
882 | 884 | | |
883 | 885 | | |
884 | 886 | | |
| |||
938 | 940 | | |
939 | 941 | | |
940 | 942 | | |
941 | | - | |
| 943 | + | |
942 | 944 | | |
943 | 945 | | |
944 | 946 | | |
| |||
0 commit comments