aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Dot.h
diff options
context:
space:
mode:
authorGravatar David Tellenbach <david.tellenbach@me.com>2020-10-09 02:05:05 +0200
committerGravatar David Tellenbach <david.tellenbach@me.com>2020-10-09 02:05:05 +0200
commit4091f6b25c5ad0ca3f7c00bd82bfd7ca1bbedee3 (patch)
treec464c196d1f0f125532d2a162c99b80c00fb7255 /Eigen/src/Core/Dot.h
parent183a208212353ccf81a664d25dc7660b6269acdd (diff)
Drop EIGEN_USING_STD_MATH in favour of EIGEN_USING_STD
Diffstat (limited to 'Eigen/src/Core/Dot.h')
-rw-r--r--Eigen/src/Core/Dot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h
index 11da432b2..41a8cb437 100644
--- a/Eigen/src/Core/Dot.h
+++ b/Eigen/src/Core/Dot.h
@@ -207,7 +207,7 @@ struct lpNorm_selector
EIGEN_DEVICE_FUNC
static inline RealScalar run(const MatrixBase<Derived>& m)
{
- EIGEN_USING_STD_MATH(pow)
+ EIGEN_USING_STD(pow)
return pow(m.cwiseAbs().array().pow(p).sum(), RealScalar(1)/p);
}
};