diff --git a/loopy/symbolic.py b/loopy/symbolic.py index 3311d23165b5f34f16c0c745218fd7da3a0ad2ac..d65440d57005183b2756040473080337257c5b52 100644 --- a/loopy/symbolic.py +++ b/loopy/symbolic.py @@ -153,7 +153,8 @@ class UnidirectionalUnifier(UnidirectionalUnifierBase): if not isinstance(other, type(expr)): return self.treat_mismatch(expr, other, unis) if (expr.inames != other.inames - or type(expr.operation) != type(other.operation)): + or type(expr.operation) != type(other.operation) # noqa + ): return [] return self.rec(expr.expr, other.expr, unis)