diff options
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h b/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h index aa2e5bcc6..558130300 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h @@ -188,7 +188,14 @@ class TensorBlockIO { StorageIndex input_span; StorageIndex output_span; StorageIndex size; - StorageIndex count = 0; + StorageIndex count; + BlockIteratorState() + : input_stride(0), + output_stride(0), + input_span(0), + output_span(0), + size(0), + count(0) {} }; static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Copy( |