Skip to content

Commit

Permalink
Update _manipulation_functions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Sep 22, 2024
1 parent 52f7edf commit 805a0c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xarray/namedarray/_array_api/_manipulation_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ def reshape(
d.append(dim if v == -1 else _new_unique_dim_name(tuple(d)))
_dims = tuple(d)
else:
_dims = _infer_dims(_data.shape, x.dims)
# _dims = _infer_dims(_data.shape, x.dims)
_dims = _infer_dims(_data.shape)

return x._new(_dims, _data)


Expand Down

0 comments on commit 805a0c5

Please sign in to comment.