Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
malfet committed Jul 18, 2023
1 parent e1b35b2 commit d47b05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aten/src/ATen/native/mps/operations/BinaryOps.mm
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ void add_sub_lerp_template(const Tensor& self,

if (!alpha_has_value && op_name == "lerp") {
if (!self.is_alias_of(other)) { // if inplace, no-op
const_cast<Tensor&>(output) = other.clone();
output.copy_(other);
}
return;
}
Expand Down

0 comments on commit d47b05d

Please sign in to comment.