diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-06 19:59:30 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-06 19:59:30 +0200 |
commit | b701a31d2064d3cebe9e2618849e1a872c8c4f78 (patch) | |
tree | f9b07fc89fa874fcf6aa29dbccb1805d6e3077dc /Tools/CodeGen/CalculationFunction.m | |
parent | 37b5ff1a20526245a0d266c91923c39040b3b3a3 (diff) |
Rename ReplacePowers as ProcessExpression as this is a more accurate name
Diffstat (limited to 'Tools/CodeGen/CalculationFunction.m')
-rw-r--r-- | Tools/CodeGen/CalculationFunction.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CodeGen/CalculationFunction.m b/Tools/CodeGen/CalculationFunction.m index ce49c5f..d603721 100644 --- a/Tools/CodeGen/CalculationFunction.m +++ b/Tools/CodeGen/CalculationFunction.m @@ -108,7 +108,7 @@ printEq[eq_] := split[ x_ + y___] := { x, " + ..."}; split[-x_ + y___] := {-x, " + ..."}; split[ x_ ] := { x, ""}; - rhsSplit = split[Expand@ReplacePowers[rhs,False]]; + rhsSplit = split[Expand@ProcessExpression[rhs,False]]; rhsString = ToString@CForm[rhsSplit[[1]]] <> rhsSplit[[2]]; InfoMessage[InfoFull, " " <> ToString@lhs <> " -> " <> rhsString]]; |