From 1048b324bb2c422ac3a8fa9d2590d0f7977c3dcc Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 25 Aug 2024 16:10:47 -0400 Subject: [PATCH] Fixing unused variable warning --- idaes/core/util/model_diagnostics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idaes/core/util/model_diagnostics.py b/idaes/core/util/model_diagnostics.py index bfc1a2565f..97bc305e07 100644 --- a/idaes/core/util/model_diagnostics.py +++ b/idaes/core/util/model_diagnostics.py @@ -4355,7 +4355,7 @@ def _check_equality_expression(self, node, child_data): mdata.append(child_data[i]) # Next, call the method to check the sum expression - vals, const, sum_expr = self._check_sum_expression(node, mdata) + vals, const, _ = self._check_sum_expression(node, mdata) # Next, we need to check for canceling terms. # In this case, we can safely ignore expressions of the form constant = sum()