aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Functors.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-07-28 17:35:07 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-07-28 17:35:07 +0200
commit54804eb62642ab1be510e41db9b573c6f6151bf2 (patch)
tree76eda2dedb4a66be0072425ebd110546211f1f71 /Eigen/src/Core/Functors.h
parent264fe82c655a26f3c3ab5057684dbc51cf533056 (diff)
parent562864bcfb363f603f40ce716c49539fcd1565d3 (diff)
synch with main branch
Diffstat (limited to 'Eigen/src/Core/Functors.h')
-rw-r--r--Eigen/src/Core/Functors.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Eigen/src/Core/Functors.h b/Eigen/src/Core/Functors.h
index 89badb353..a4c9604df 100644
--- a/Eigen/src/Core/Functors.h
+++ b/Eigen/src/Core/Functors.h
@@ -124,9 +124,6 @@ template<typename Scalar> struct ei_scalar_hypot_op EIGEN_EMPTY_STRUCT {
// typedef typename NumTraits<Scalar>::Real result_type;
EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& _x, const Scalar& _y) const
{
-// typedef typename NumTraits<T>::Real RealScalar;
-// RealScalar _x = ei_abs(x);
-// RealScalar _y = ei_abs(y);
Scalar p = std::max(_x, _y);
Scalar q = std::min(_x, _y);
Scalar qp = q/p;