From 501f59d99f355ecce45c7ce5754ad6996099bb53 Mon Sep 17 00:00:00 2001
From: Markus Holzer <markus.holzer@fau.de>
Date: Wed, 25 Sep 2024 13:08:30 +0200
Subject: [PATCH] Uncommend actuall fix

---
 src/pystencils/astnodes.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pystencils/astnodes.py b/src/pystencils/astnodes.py
index a54d350bc..c8928a218 100644
--- a/src/pystencils/astnodes.py
+++ b/src/pystencils/astnodes.py
@@ -9,8 +9,8 @@ from pystencils.assignment import Assignment
 from pystencils.enums import Target, Backend
 from pystencils.field import Field
 from pystencils.sympyextensions import fast_subs
-from pystencils.typing import (CFunction, create_type, get_next_parent_of_type,
-                               FieldPointerSymbol, FieldShapeSymbol, FieldStrideSymbol, TypedSymbol)
+from pystencils.typing import (create_type, get_next_parent_of_type,
+                               FieldPointerSymbol, FieldShapeSymbol, FieldStrideSymbol, TypedSymbol, CFunction)
 
 NodeOrExpr = Union['Node', sp.Expr]
 
@@ -272,7 +272,7 @@ class KernelFunction(Node):
             parameters += [self.Parameter(s, []) for s in self.indexing.symbolic_parameters()]
         # Exclude paramters of type CFunction. These parameters will result in a C function call that will be handled
         # by including a respective header file in the compute kernel. Hence, it is not a free parameter.
-        # parameters = [p for p in parameters if not isinstance(p.symbol, CFunction)]
+        parameters = [p for p in parameters if not isinstance(p.symbol, CFunction)]
         parameters.sort(key=lambda p: p.symbol.name)
         return parameters
 
-- 
GitLab