From 41fcf744294cb64da28a64af3c5018a51dd759db Mon Sep 17 00:00:00 2001
From: Tim Warburton <timwar@caam.rice.edu>
Date: Mon, 5 Nov 2012 15:00:36 -0600
Subject: [PATCH] Fix insertion of insn id into expansion stack.

---
 loopy/symbolic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/loopy/symbolic.py b/loopy/symbolic.py
index fe7b458d8..015d29a7a 100644
--- a/loopy/symbolic.py
+++ b/loopy/symbolic.py
@@ -396,7 +396,7 @@ class ExpandingIdentityMapper(IdentityMapper):
 
     def __call__(self, expr, insn_id):
         if insn_id is not None:
-            stack = (insn_id,)
+            stack = ((insn_id, None),)
         else:
             stack = ()
 
-- 
GitLab