summaryrefslogtreecommitdiffhomepage
path: root/eigen/unsupported/Eigen/CXX11/src/util/EmulateCXX11Meta.h
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/unsupported/Eigen/CXX11/src/util/EmulateCXX11Meta.h')
-rw-r--r--eigen/unsupported/Eigen/CXX11/src/util/EmulateCXX11Meta.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigen/unsupported/Eigen/CXX11/src/util/EmulateCXX11Meta.h b/eigen/unsupported/Eigen/CXX11/src/util/EmulateCXX11Meta.h
index f3aa1b1..8a536fa 100644
--- a/eigen/unsupported/Eigen/CXX11/src/util/EmulateCXX11Meta.h
+++ b/eigen/unsupported/Eigen/CXX11/src/util/EmulateCXX11Meta.h
@@ -188,7 +188,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE t array_prod(const array<t, n>& a) {
}
template<typename t>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE t array_prod(const array<t, 0>& /*a*/) {
- return 0;
+ return 1;
}
template<typename t>