Skip to content

Commit

Permalink
remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis authored Jun 7, 2024
1 parent aaced1d commit 4e86aa2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions xarray/core/duck_array_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,6 @@ def as_shared_dtype(scalars_or_arrays, xp=np):
xp = cp

# split into weakly and strongly dtyped
# TODO (keewis): remove this and the `weakly_dtyped` parameter to
# result_type once we can require a version of the Array API that allows
# passing scalars to `xp.result_type`
dtype = dtypes.result_type(*scalars_or_arrays, xp=xp)

# Pass arrays directly instead of dtypes to result_type so scalars
Expand Down

0 comments on commit 4e86aa2

Please sign in to comment.