From 70616183b5f6c717a63eaa50b3081714e98617a4 Mon Sep 17 00:00:00 2001 From: Markus Holzer <markus.holzer@fau.de> Date: Wed, 29 Nov 2023 13:09:23 +0100 Subject: [PATCH] Fix linter --- lbmpy/boundaries/boundaryconditions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbmpy/boundaries/boundaryconditions.py b/lbmpy/boundaries/boundaryconditions.py index 260cc696..fe55da40 100644 --- a/lbmpy/boundaries/boundaryconditions.py +++ b/lbmpy/boundaries/boundaryconditions.py @@ -241,7 +241,7 @@ class QuadraticBounceBack(LbBoundary): result = discrete_equilibrium(v, u, rho, weight, order=2, c_s_sq=sp.Rational(1, 3), compressible=compressible) if deviation_only: - shift = discrete_equilibrium(v, [0]*len(u), rho_background, weight, + shift = discrete_equilibrium(v, [0] * len(u), rho_background, weight, order=0, c_s_sq=sp.Rational(1, 3), compressible=False) result = simplify_by_equality(result - shift, rho, drho, rho_background) -- GitLab