aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-04-09 21:29:31 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-04-09 21:29:31 +0000
commitea41a18b80150baea3c9879d5b94930524f8d276 (patch)
treee68cc235d0540538b6c80687db170b67ff2d588b /unsupported
parentd78eb02627add5a050e5725e40209c6adc274e96 (diff)
clean asm comments
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/test/autodiff.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/test/autodiff.cpp b/unsupported/test/autodiff.cpp
index 7d619897c..71ae4cdc4 100644
--- a/unsupported/test/autodiff.cpp
+++ b/unsupported/test/autodiff.cpp
@@ -29,10 +29,10 @@ template<typename Scalar>
EIGEN_DONT_INLINE Scalar foo(const Scalar& x, const Scalar& y)
{
// return x+std::sin(y);
- asm("#mybegin");
+ EIGEN_ASM_COMMENT("mybegin");
return 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 y/x;// - y*2;
- asm("#myend");
+ EIGEN_ASM_COMMENT("myend");
}
template<typename _Scalar, int NX=Dynamic, int NY=Dynamic>