From aa6dfe576d08f23dbbcc8602f3063bd793ddc64b Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Thu, 19 Dec 2019 15:38:15 +0100
Subject: [PATCH] :star: :star: :star: Add a star to correctly get atoms of
 InterpolatorAccess :star: :star: :star:

---
 pystencils/interpolation_astnodes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pystencils/interpolation_astnodes.py b/pystencils/interpolation_astnodes.py
index 79e534b6e..27b119481 100644
--- a/pystencils/interpolation_astnodes.py
+++ b/pystencils/interpolation_astnodes.py
@@ -172,7 +172,7 @@ class InterpolatorAccess(TypedSymbol):
                 offsets.update([self])
             for o in self.offsets:
                 if hasattr(o, 'atoms'):
-                    offsets.update(set(o.atoms(types)))
+                    offsets.update(set(o.atoms(*types)))
             return offsets
         else:
             return set()
-- 
GitLab