From 2adcff6f6e73787225f3030e6f536d9a1e90b14d Mon Sep 17 00:00:00 2001 From: RemHero <1104304963@qq.com> Date: Thu, 19 Jan 2023 16:16:41 +0800 Subject: [PATCH] fix the OperatorType --- .../iginx/engine/shared/operator/type/OperatorType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/cn/edu/tsinghua/iginx/engine/shared/operator/type/OperatorType.java b/core/src/main/java/cn/edu/tsinghua/iginx/engine/shared/operator/type/OperatorType.java index 7555478f0..0ff8359a0 100644 --- a/core/src/main/java/cn/edu/tsinghua/iginx/engine/shared/operator/type/OperatorType.java +++ b/core/src/main/java/cn/edu/tsinghua/iginx/engine/shared/operator/type/OperatorType.java @@ -80,7 +80,7 @@ private static class OperatorTypeCounter } public static boolean isBinaryOperator(OperatorType op) { - return 40 < op.value && op.value < 49; + return op.value >= 40 && op.value <= 49; } public static boolean isUnaryOperator(OperatorType op) {