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 branches found
No related tags found
No related merge requests found
......@@ -223,7 +223,7 @@ def makeExponentialFuncArgumentSquares(expr, variablesToCompleteSquares):
expArg = term.args[0]
for i in range(dim):
expArg, substitution = completeTheSquare(expArg, variablesToCompleteSquares[i], dummies[i])
return sp.exp(sp.simplify(expArg))
return sp.exp(sp.expand(expArg))
else:
paramList = [visit(a) for a in term.args]
if not paramList:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment