From 6a1abb33e893858dab5b55fea65040ac6e05bd16 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Fri, 20 Feb 2015 19:32:15 -0600
Subject: [PATCH] Fix superclass invocations in TemporaryToSubstChanger

---
 loopy/subst.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/loopy/subst.py b/loopy/subst.py
index 5d577fc6a..90c0a7916 100644
--- a/loopy/subst.py
+++ b/loopy/subst.py
@@ -229,7 +229,7 @@ class TemporaryToSubstChanger(ExpandingIdentityMapper):
             if result is not None:
                 return result
 
-        return super(ExpandingIdentityMapper, self).map_variable(
+        return super(TemporaryToSubstChanger, self).map_variable(
                 expr, expn_state)
 
     def map_subscript(self, expr, expn_state):
@@ -238,7 +238,7 @@ class TemporaryToSubstChanger(ExpandingIdentityMapper):
             if result is not None:
                 return result
 
-        return super(ExpandingIdentityMapper, self).map_variable(
+        return super(TemporaryToSubstChanger, self).map_subscript(
                 expr, expn_state)
 
     def transform_access(self, index, expn_state):
-- 
GitLab