From 0ad7c7b1adc142fec4376ccdfdb4e88e4820934d Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 19 Nov 2015 15:52:51 -0800 Subject: Fixed another clang compilation warning --- unsupported/test/cxx11_tensor_intdiv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/test/cxx11_tensor_intdiv.cpp') diff --git a/unsupported/test/cxx11_tensor_intdiv.cpp b/unsupported/test/cxx11_tensor_intdiv.cpp index c6e1890df..48aa6d368 100644 --- a/unsupported/test/cxx11_tensor_intdiv.cpp +++ b/unsupported/test/cxx11_tensor_intdiv.cpp @@ -15,10 +15,10 @@ void test_signed_32bit() { // Divide by one - const Eigen::internal::TensorIntDivisor div(1); + const Eigen::internal::TensorIntDivisor div_by_one(1); for (int32_t j = 0; j < 25000; ++j) { - const int32_t fast_div = j / div; + const int32_t fast_div = j / div_by_one; const int32_t slow_div = j / 1; VERIFY_IS_EQUAL(fast_div, slow_div); } -- cgit v1.2.3