From 801e601ff170b054fc6bec4dee88c6e50bf35519 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 5 Jan 2010 16:04:05 +0100 Subject: a couple of improvements in the Autodiff module --- unsupported/test/autodiff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/test/autodiff.cpp') diff --git a/unsupported/test/autodiff.cpp b/unsupported/test/autodiff.cpp index cac08cd4b..a32d85829 100644 --- a/unsupported/test/autodiff.cpp +++ b/unsupported/test/autodiff.cpp @@ -31,7 +31,7 @@ EIGEN_DONT_INLINE Scalar foo(const Scalar& x, const Scalar& y) // return x+std::sin(y); EIGEN_ASM_COMMENT("mybegin"); return static_cast(x*2 - std::pow(x,2) + 2*std::sqrt(y*y) - 4 * std::sin(x) + 2 * std::cos(y) - std::exp(-0.5*x*x)); -// return x - y;//x*2 -std::pow(x,2);//(2*y/x);// - y*2; + //return x+2*y*x;//x*2 -std::pow(x,2);//(2*y/x);// - y*2; EIGEN_ASM_COMMENT("myend"); } -- cgit v1.2.3