From 85e0e8ca670333898e9cbbbd4f1bf94dc421ae9c Mon Sep 17 00:00:00 2001 From: Anhijkt Date: Wed, 30 Jul 2025 21:40:20 +0300 Subject: [PATCH] typo --- passes/opt/opt_dff.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passes/opt/opt_dff.cc b/passes/opt/opt_dff.cc index 2a9d67dd6..210c4828f 100644 --- a/passes/opt/opt_dff.cc +++ b/passes/opt/opt_dff.cc @@ -218,8 +218,8 @@ struct OptDffWorker bool redundant = true; - for (const auto& pt : smaller) - if (larger.count(pt.first) == 0 || larger[pt.first] != pt.second) + for (const auto& pt : left) + if (right.count(pt.first) == 0 || right.at(pt.first) != pt.second) redundant = false; if (redundant) new_patterns.erase(right);