From 1b6df1a04c16b7a43751341a87ad15ef12180c74 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Thu, 9 Feb 2023 11:21:40 -0800 Subject: [PATCH] fix for ZAM compilation of "in" expressions --- src/script_opt/Expr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script_opt/Expr.cc b/src/script_opt/Expr.cc index 20f39c640b..ec62756e86 100644 --- a/src/script_opt/Expr.cc +++ b/src/script_opt/Expr.cc @@ -350,7 +350,7 @@ ExprPtr Expr::ReduceToConditional(Reducer* c, StmtPtr& red_stmt) return Reduce(c, red_stmt); } - if ( ! op1->IsReduced(c) || ! op2->IsReduced(c) ) + if ( ! op1->IsReduced(c) || ! op2->IsSingleton(c) ) { auto red2_stmt = ReduceToSingletons(c); auto res = ReduceToConditional(c, red_stmt);