diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h index 6a213096d..3b8ec14f0 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h @@ -166,7 +166,7 @@ struct TensorContractionBlockMemAllocator { std::vector* lhs_blocks, std::vector* rhs_blocks) { eigen_assert(num_slices > 0); - eigen_assert(num_lhs >= 0 && num_rhs >= 0) + eigen_assert(num_lhs >= 0 && num_rhs >= 0); eigen_assert(num_lhs == 0 || lhs_blocks); eigen_assert(num_rhs == 0 || rhs_blocks); BlockSizes sz = ComputeLhsRhsBlockSizes(bm, bk, bn);