From 6402a804a7d86ecae42c04c9656ea5c5c9441c16 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 23 Jun 2015 00:39:17 -0500
Subject: [PATCH] Remove mutation method from TyepToOpCountMap

---
 loopy/statistics.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/loopy/statistics.py b/loopy/statistics.py
index c207d22aa..69c5b129c 100755
--- a/loopy/statistics.py
+++ b/loopy/statistics.py
@@ -1,4 +1,4 @@
-from __future__ import division, absolute_import
+from __future__ import division, absolute_import, print_function
 
 __copyright__ = "Copyright (C) 2015 James Stevens"
 
@@ -73,9 +73,6 @@ class TypeToOpCountMap:
         except KeyError:
             return isl.PwQPolynomial('{ 0 }')
 
-    def __setitem__(self, index, value):
-        self.dict[index] = value
-
     def __str__(self):
         return str(self.dict)
 
-- 
GitLab