diff options
author | Alexander Neumann <Alexander.Neumann@hamburg.de> | 2020-09-07 11:42:30 +0200 |
---|---|---|
committer | Alexander Neumann <Alexander.Neumann@hamburg.de> | 2020-09-07 11:42:30 +0200 |
commit | 5272106826f1b9a0b938878e06c6cebd12a26a9c (patch) | |
tree | 67add4faa1f505c489d267d948732a3a823f5ba8 /Eigen/src/Core/MathFunctions.h | |
parent | 5f25bcf7d6918f5c6091fb4e961e5607e13b7324 (diff) |
remove semi triggering -Wextra-semi-stmt
Diffstat (limited to 'Eigen/src/Core/MathFunctions.h')
-rw-r--r-- | Eigen/src/Core/MathFunctions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/MathFunctions.h b/Eigen/src/Core/MathFunctions.h index 96cb24fcb..40fcb5d49 100644 --- a/Eigen/src/Core/MathFunctions.h +++ b/Eigen/src/Core/MathFunctions.h @@ -972,7 +972,7 @@ template<typename T> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T mini(const T& x, const T& y) { - EIGEN_USING_STD_MATH(min); + EIGEN_USING_STD_MATH(min) return min EIGEN_NOT_A_MACRO (x,y); } @@ -980,7 +980,7 @@ template<typename T> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T maxi(const T& x, const T& y) { - EIGEN_USING_STD_MATH(max); + EIGEN_USING_STD_MATH(max) return max EIGEN_NOT_A_MACRO (x,y); } #else @@ -1291,7 +1291,7 @@ template<typename T> EIGEN_DEVICE_FUNC T (floor)(const T& x) { - EIGEN_USING_STD_MATH(floor); + EIGEN_USING_STD_MATH(floor) return floor(x); } |