From acb42b987108d6965959a2b99aba76b597152ffb Mon Sep 17 00:00:00 2001 From: Naoya Maruyama Date: Thu, 1 Dec 2022 08:42:48 -0800 Subject: [PATCH] Fix #2230 (#2231) --- torch/csrc/jit/codegen/cuda/arith.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torch/csrc/jit/codegen/cuda/arith.cpp b/torch/csrc/jit/codegen/cuda/arith.cpp index 3dececc41cd35..b10b7770f3bec 100644 --- a/torch/csrc/jit/codegen/cuda/arith.cpp +++ b/torch/csrc/jit/codegen/cuda/arith.cpp @@ -456,7 +456,7 @@ Val* unaryIsOp(UnaryOpType type, Val* v) { } TensorView* unaryIsOp(UnaryOpType type, TensorView* v) { - return unaryOp(type, v->asVal())->as(); + return unaryIsOp(type, v->asVal())->as(); } Val* unaryOp(UnaryOpType type, Val* v1, const TypePromotionConfig& config) {