Skip to content

Commit

Permalink
back to using a list instead of a tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis committed Jun 7, 2024
1 parent c28233c commit 0977707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/duck_array_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def as_shared_dtype(scalars_or_arrays, xp=np):
# evaluating them.
dtype = dtypes.result_type(*scalars_or_arrays, xp=xp)

return tuple(asarray(x, dtype=dtype, xp=xp) for x in scalars_or_arrays)
return [asarray(x, dtype=dtype, xp=xp) for x in scalars_or_arrays]


def broadcast_to(array, shape):
Expand Down

0 comments on commit 0977707

Please sign in to comment.