From e4a60010a84536070f54bafa23957a43d58843b7 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Fri, 1 Feb 2008 22:18:26 -0500 Subject: Erik's fix of optimizer bug - should not have affected anything --- Tools/CodeGen/Differencing.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/CodeGen') 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]]; -- cgit v1.2.3