Skip to content
Snippets Groups Projects
Commit b77720ed authored by Frederik Hennig's avatar Frederik Hennig
Browse files

adapt to changes in pystencils API

parent 902584c2
No related branches found
No related tags found
1 merge request!172Draft: Changes for compatibility with pystencils 2.0
Pipeline #72053 failed
......@@ -16,7 +16,7 @@ from lbmpy._compat import IS_PYSTENCILS_2
# Trigger config file reading / creation once - to avoid race conditions when multiple instances are creating it
# at the same time
if IS_PYSTENCILS_2:
from pystencils.backend.jit import legacy_cpu
from pystencils.jit import legacy_cpu
else:
from pystencils.cpu import cpujit
......
......@@ -93,7 +93,7 @@ from lbmpy.methods.abstractlbmethod import LbmCollisionRule, AbstractLbMethod
from lbmpy.methods.cumulantbased import CumulantBasedLbMethod
if IS_PYSTENCILS_2:
from pystencils import KernelFunction
from pystencils import Kernel as KernelFunction
else:
from pystencils.astnodes import KernelFunction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment