From a61ca2144ba6360a80229a4b02662daae2beeb74 Mon Sep 17 00:00:00 2001
From: Nicholas Christensen <njchris2@illinois.edu>
Date: Mon, 10 Oct 2022 14:17:55 -0500
Subject: [PATCH] Add args and kwargs to method

---
 pymbolic/mapper/dependency.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pymbolic/mapper/dependency.py b/pymbolic/mapper/dependency.py
index 0cffd44..f784f01 100644
--- a/pymbolic/mapper/dependency.py
+++ b/pymbolic/mapper/dependency.py
@@ -99,7 +99,7 @@ class DependencyMapper(CSECachingMapperMixin, Collector):
         else:
             return super().map_subscript(expr, *args, **kwargs)
 
-    def map_common_subexpression_uncached(self, expr):
+    def map_common_subexpression_uncached(self, expr, *args, **kwargs):
         if self.include_cses:
             return {expr}
         else:
-- 
GitLab