From aa3a4125199fda11d5f15358a12a26cb93aef637 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 27 Nov 2014 12:52:33 -0600 Subject: [PATCH] Flake8 style fix --- loopy/codegen/expression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopy/codegen/expression.py b/loopy/codegen/expression.py index 87ebf2384..1963c2995 100644 --- a/loopy/codegen/expression.py +++ b/loopy/codegen/expression.py @@ -84,7 +84,7 @@ class TypeInferenceMapper(CombineMapper): # assume the non-native type takes over pass else: - if not result is other: + if result is not other: raise TypeInferenceFailure( "nothing known about result of operation on " "'%s' and '%s'" % (result, other)) -- GitLab