From 0bc020be9d44516dc846270d070f2ee9beaed8f1 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Mon, 11 Jul 2016 12:14:56 -0700 Subject: [PATCH] Improved the detection of packet size in the tensor scan evaluator. --- unsupported/Eigen/CXX11/src/Tensor/TensorScan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h b/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h index a61b14ded..8501466ce 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h @@ -94,7 +94,7 @@ struct TensorEvaluator, Device> { enum { IsAligned = false, - PacketAccess = (internal::packet_traits::size > 1), + PacketAccess = (internal::unpacket_traits::size > 1), BlockAccess = false, Layout = TensorEvaluator::Layout, CoordAccess = false,