Skip to content

Commit

Permalink
CalculationFunction.m: Correct debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed May 20, 2011
1 parent e0be5e8 commit bfba9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/CodeGen/CalculationFunction.m
Expand Up @@ -221,7 +221,7 @@ pathalogical enough (e.g. {s1 -> s2, s2 -> s1} would not be
split[ x_ + y___] := { x, " + ..."};
split[-x_ + y___] := {-x, " + ..."};
split[ x_ ] := { x, ""};
rhsSplit = split[Expand@ReplacePowers@rhs];
rhsSplit = split[Expand@ReplacePowers[rhs,False]];
rhsString = ToString@CForm[rhsSplit[[1]]] <> rhsSplit[[2]];
InfoMessage[InfoFull, " " <> ToString@lhs <> " -> " <> rhsString]];

Expand Down

0 comments on commit bfba9ba

Please sign in to comment.