From c864d220a674da0f2a79d77f49f8d135b291c852 Mon Sep 17 00:00:00 2001 From: chqy99 <1216494776@qq.com> Date: Fri, 13 Oct 2023 15:31:31 +0800 Subject: [PATCH] [mluops][test]: test --- bangc-ops/kernels/abs/abs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bangc-ops/kernels/abs/abs.cpp b/bangc-ops/kernels/abs/abs.cpp index c5f922f6e..c4f302d2f 100644 --- a/bangc-ops/kernels/abs/abs.cpp +++ b/bangc-ops/kernels/abs/abs.cpp @@ -54,7 +54,7 @@ mluOpStatus_t MLUOP_WIN_API mluOpAbs(mluOpHandle_t handle, mluOpStatus_t param_check = unaryOpParamCheck("[mluOpAbs]", handle, x_desc, x, y_desc, y, support_type, 2, zero_element); - if (zero_element == true) { + if (zero_element) { return MLUOP_STATUS_SUCCESS; } if (param_check != MLUOP_STATUS_SUCCESS) {