Skip to content

Commit 1863382

Browse files
authored
fix tiling of norm (#3329)
1 parent b008a2a commit 1863382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mars/tensor/linalg/norm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def tile(cls, op):
114114
)
115115

116116
r = yield from recursive_tile(
117-
cls._norm(x.astype(op.outputs[0].dtype), ord, axis, keepdims)
117+
cls._norm(x.astype(op.outputs[0].dtype, copy=False), ord, axis, keepdims)
118118
)
119119
new_op = op.copy()
120120
return new_op.new_tensors(

0 commit comments

Comments
 (0)