Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lbmpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
lbmpy
Commits
b77720ed
Commit
b77720ed
authored
4 months ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
adapt to changes in pystencils API
parent
902584c2
Branches
Branches containing commit
No related tags found
1 merge request
!172
Draft: Changes for compatibility with pystencils 2.0
Pipeline
#72053
failed
4 months ago
Stage: pretest
Stage: test
Stage: prerelease
Stage: docs
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conftest.py
+1
-1
1 addition, 1 deletion
conftest.py
src/lbmpy/creationfunctions.py
+1
-1
1 addition, 1 deletion
src/lbmpy/creationfunctions.py
with
2 additions
and
2 deletions
conftest.py
+
1
−
1
View file @
b77720ed
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/lbmpy/creationfunctions.py
+
1
−
1
View file @
b77720ed
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment