From 01197e44527941c95f9a63e4f60ab3a989f12cbe Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Thu, 13 Sep 2018 15:03:36 -0700 Subject: Fix warnings --- unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h index eeb2578fd..261dbffa8 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h @@ -1140,7 +1140,6 @@ struct TensorEvaluator, const Index max_coeff_count, const DSizes& input_slice_sizes, DSizes* target_input_block_sizes) const { - typedef typename internal::packet_traits::type Packet; typedef internal::BlockReducer BlockReducer; // TODO(andydavis) Compute reducer overhead correctly for the case where // we are preserving the inner most dimension, and a single reducer @@ -1168,7 +1167,6 @@ struct TensorEvaluator, } else if (!first_preserved_dim_allocated) { // TODO(andydavis) Include output block size in this L1 working set // calculation. - const Index allocated = max_coeff_count - coeff_to_allocate; const Index alloc_size = numext::maxi( static_cast(1), coeff_to_allocate / reducer_overhead); (*target_input_block_sizes)[dim] = -- cgit v1.2.3