Backout parts of changeset 6719e56b5b

(these changes were not intended to be commited)
This commit is contained in:
Gael Guennebaud
2013-08-11 19:26:41 +02:00
parent bffdc491b3
commit 916d29e58f
2 changed files with 2 additions and 2 deletions

View File

@@ -604,7 +604,7 @@ atan2(const AutoDiffScalar<DerTypeA>& a, const AutoDiffScalar<DerTypeB>& b)
Scalar tmp4 = tmp3/(tmp2+tmp3);
if (tmp4!=0)
ret.derivatives() = (a.value() * b.derivatives() - a.derivatives() * b.value()) * (tmp2+tmp3);
ret.derivatives() = (a.derivatives() * b.value() - a.value() * b.derivatives()) * (tmp2+tmp3);
return ret;
}