From 346decb55cecee2e3023fd23a24e32937e138314 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 7 Oct 2012 12:40:34 -0500
Subject: [PATCH] Fix stringification of LinearSubscript.

---
 loopy/symbolic.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/loopy/symbolic.py b/loopy/symbolic.py
index 557f61005..860394177 100644
--- a/loopy/symbolic.py
+++ b/loopy/symbolic.py
@@ -119,6 +119,9 @@ class LinearSubscript(AlgebraicLeaf):
     def __getinitargs__(self):
         return self.aggregate, self.index
 
+    def stringifier(self):
+        return StringifyMapper
+
     mapper_method = intern("map_linear_subscript")
 
 # }}}
-- 
GitLab