aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-12-30 12:52:38 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-12-30 12:52:38 +0100
commit978c379ed7b42ac83c7e3fc84abbd88b9ec4e38b (patch)
tree0301ac1bd27bb03565b1e9cf6638a1d1b7bdc35b /unsupported
parent25f2b8d82423137efc0e446425016a375e87d5fa (diff)
Add missing ctor from uint
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h
index f5cca0ad7..4f2adb671 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h
@@ -38,6 +38,8 @@ struct TensorUInt128
eigen_assert(x >= 0);
}
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
+ TensorUInt128(unsigned int x) : high(0), low(x) { }
+ EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
TensorUInt128(int64_t x) : high(0), low(x) {
eigen_assert(x >= 0);
}