From e35bf0d06915fa401bd158dadc24efb2bfb17a86 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 23 Oct 2011 21:54:46 -0400
Subject: [PATCH] Fix Reduction() stringification.

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

diff --git a/loopy/symbolic.py b/loopy/symbolic.py
index b0c621539..054ed8781 100644
--- a/loopy/symbolic.py
+++ b/loopy/symbolic.py
@@ -73,8 +73,8 @@ class SubstitutionMapper(SubstitutionMapperBase, IdentityMapperMixin):
 
 class StringifyMapper(StringifyMapperBase):
     def map_reduction(self, expr, prec):
-        return "reduce(%s, [%s], %s, tag=%s)" % (
-                expr.operation, ", ".join(expr.inames), expr.expr, expr.tag)
+        return "reduce(%s, [%s], %s)" % (
+                expr.operation, ", ".join(expr.inames), expr.expr)
 
 class DependencyMapper(DependencyMapperBase):
     def map_reduction(self, expr):
-- 
GitLab