Skip to content
Snippets Groups Projects
Commit ba82e6a3 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Use InterpolatorAccess instead of TextureAccess to determine

`fields_accessed`
parent 89a6c556
No related branches found
No related tags found
No related merge requests found
...@@ -42,8 +42,8 @@ class DestructuringBindingsForFieldClass(Node): ...@@ -42,8 +42,8 @@ class DestructuringBindingsForFieldClass(Node):
# TODO: remove when texture support is merged into pystencils # TODO: remove when texture support is merged into pystencils
try: try:
from pystencils.interpolation_astnodes import TextureAccess from pystencils.interpolation_astnodes import InterpolatorAccess
return set(o.field for o in self.atoms(ResolvedFieldAccess) | self.atoms(TextureAccess)) return set(o.field for o in self.atoms(ResolvedFieldAccess) | self.atoms(InterpolatorAccess))
except ImportError: except ImportError:
return set(o.field for o in self.atoms(ResolvedFieldAccess)) return set(o.field for o in self.atoms(ResolvedFieldAccess))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment