Skip to content
Snippets Groups Projects

Corrected gallilean correction

Merged Markus Holzer requested to merge holzer/lbmpy:Cumulant into master
Viewing commit c522a21c
Show latest version
3 files
+ 9
19
Preferences
Compare changes
Files
3
@@ -413,12 +413,5 @@ class CenteredCumulantBasedLbMethod(AbstractLbMethod):
main_assignments = [Assignment(eq.lhs, eq.rhs + force_term_symbol)
for eq, force_term_symbol in zip(main_assignments, force_term_symbols)]
# 9) Clean up the subexpression tree
ac = AssignmentCollection(main_assignments, subexpressions)
if pre_simplification and pre_simplification != 'none':
ac = insert_aliases(insert_zeros(ac))
ac = ac.new_without_unused_subexpressions()
# Aaaaaand we're done.
return LbmCollisionRule(self, ac.main_assignments, ac.subexpressions)
return LbmCollisionRule(self, main_assignments, subexpressions)