From 66796e843df723eeac04d6dc725f6a8b27a574ba Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 9 Jun 2016 08:50:01 -0700 Subject: [PATCH] Fixed definition of some of the reducer_traits --- unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h index bf52e490f..e6ff70460 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h @@ -131,7 +131,7 @@ template struct reducer_traits, Device> { enum { Cost = NumTraits::AddCost, - PacketAccess = PacketType::type::HasAdd + PacketAccess = packet_traits::type>::HasAdd }; }; @@ -183,7 +183,7 @@ template struct reducer_traits, Device> { enum { Cost = NumTraits::AddCost, - PacketAccess = PacketType::type::HasAdd + PacketAccess = packet_traits::type>::HasAdd }; }; @@ -225,7 +225,7 @@ template struct reducer_traits, Device> { enum { Cost = NumTraits::AddCost, - PacketAccess = PacketType::type::HasMax + PacketAccess = packet_traits::type>::HasMax }; }; @@ -267,7 +267,7 @@ template struct reducer_traits, Device> { enum { Cost = NumTraits::AddCost, - PacketAccess = PacketType::type::HasMin + PacketAccess = packet_traits::type>::HasMin }; }; @@ -310,7 +310,7 @@ template struct reducer_traits, Device> { enum { Cost = NumTraits::MulCost, - PacketAccess = PacketType::type::HasMul + PacketAccess = packet_traits::type>::HasMul }; };