diff options
author | 2016-03-09 17:35:17 -0800 | |
---|---|---|
committer | 2016-03-09 17:35:17 -0800 | |
commit | 3149b5b1481a60161e5dc767183a621c70552a19 (patch) | |
tree | 17ff94ca52814f4415a279c199b361cd8eb44925 /unsupported | |
parent | b2100b83ad3fab4a96cdcdf6cde58d809d105ac3 (diff) |
Avoid implicit cast
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h index 3f1864fa7..fe1dc22ee 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h @@ -298,7 +298,7 @@ struct FullReducer<Self, Op, ThreadPoolDevice, true> { *output = reducer.finalize(reducer.initialize()); return; } - const int num_threads = device.numThreads(); + const std::size_t num_threads = device.numThreads(); if (num_threads == 1) { *output = InnerMostDimReducer<Self, Op, true>::reduce(self, 0, num_coeffs, reducer); return; |