Skip to content

Commit

Permalink
Merge pull request cupy#8988 from grlee77/grelee/distance-followup
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaehashi authored and chainer-ci committed Feb 26, 2025
1 parent 99c2cb0 commit 59e7e0f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cupyx/scipy/spatial/distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ def cdist(XA, XB, metric='euclidean', out=None, **kwargs):
out = out.astype('float32', copy=False)
if out.shape != (mA, mB):
cupy.resize(out, (mA, mB))
out[:] = 0.0

if isinstance(metric, str):
mstr = metric.lower()
Expand Down

0 comments on commit 59e7e0f

Please sign in to comment.