aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen
diff options
context:
space:
mode:
authorIan Hinder <ian@vaio.(none)>2008-02-01 22:18:26 -0500
committerIan Hinder <ian@vaio.(none)>2008-02-01 22:18:26 -0500
commite4a60010a84536070f54bafa23957a43d58843b7 (patch)
treeb64c753ad10f4589893cf97d4c97cbab05b43750 /Tools/CodeGen
parent9b07c7e619dc2aafec1e09e25958e5a23a4f57a6 (diff)
Erik's fix of optimizer bug - should not have affected anything
Diffstat (limited to 'Tools/CodeGen')
-rw-r--r--Tools/CodeGen/Differencing.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CodeGen/Differencing.m b/Tools/CodeGen/Differencing.m
index 61b7376..568ac1a 100644
--- a/Tools/CodeGen/Differencing.m
+++ b/Tools/CodeGen/Differencing.m
@@ -319,7 +319,7 @@ ComponentDerivativeOperatorMacroDefinition[componentDerivOp:(name_[inds___] -> e
(* rhs4 = Factor[rhs3];*)
rhs4 = rhs3 //. (x_ a_ + x_ b_) -> x(a+b);
- rhs5 = rhs4 //. (x_ a_ - y_ b_) -> x(a-b);
+ rhs5 = rhs4 //. (x_ a_ - x_ b_) -> x(a-b);
(* Print[componentDerivOp, ": "];
Print[FullForm[rhs5]];