Commit 9baf34fe authored by Markus Holzer's avatar Markus Holzer
Browse files

Small Fix

parent b3ca42c6
Pipeline #33583 failed with stages
in 10 minutes and 18 seconds
......@@ -239,9 +239,13 @@ class MomentBasedLbMethod(AbstractLbMethod):
if self._forceModel is None:
include_force_terms = False
moment_space_forcing = False
else:
moment_space_forcing = self._forceModel.has_moment_space_forcing
moment_space_forcing = False
if include_force_terms and self._moment_transform_class:
if self._forceModel is not None:
moment_space_forcing = self._forceModel.has_moment_space_forcing
rho = self.zeroth_order_equilibrium_moment_symbol
u = self.first_order_equilibrium_moment_symbols
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment