From b196d377cf3e822aded3cf46dfebd71f6f9d2be4 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Fri, 1 Dec 2023 14:01:13 -0800 Subject: [PATCH] logic fix --- src/script_opt/Reduce.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script_opt/Reduce.cc b/src/script_opt/Reduce.cc index 4641db5ad4..b6dd3fd4ed 100644 --- a/src/script_opt/Reduce.cc +++ b/src/script_opt/Reduce.cc @@ -1030,8 +1030,8 @@ bool CSE_ValidityChecker::CheckRecordConstructor(const TypePtr& t) { } bool CSE_ValidityChecker::CheckTableMod(const TypePtr& t) { - if ( ! CheckAggrMod(t) ) - return false; + if ( CheckAggrMod(t) ) + return true; if ( t->Tag() != TYPE_TABLE ) return false;