Skip to content
Snippets Groups Projects
Commit 759f65ec authored by Martin Bauer's avatar Martin Bauer
Browse files

Worked on new lbmpy module

parent 491bba19
No related merge requests found
...@@ -223,7 +223,7 @@ def makeExponentialFuncArgumentSquares(expr, variablesToCompleteSquares): ...@@ -223,7 +223,7 @@ def makeExponentialFuncArgumentSquares(expr, variablesToCompleteSquares):
expArg = term.args[0] expArg = term.args[0]
for i in range(dim): for i in range(dim):
expArg, substitution = completeTheSquare(expArg, variablesToCompleteSquares[i], dummies[i]) expArg, substitution = completeTheSquare(expArg, variablesToCompleteSquares[i], dummies[i])
return sp.exp(sp.simplify(expArg)) return sp.exp(sp.expand(expArg))
else: else:
paramList = [visit(a) for a in term.args] paramList = [visit(a) for a in term.args]
if not paramList: if not paramList:
......
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