diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-11-19 15:52:51 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-11-19 15:52:51 -0800 |
commit | 0ad7c7b1adc142fec4376ccdfdb4e88e4820934d (patch) | |
tree | 08d0658491d7f5f7dac14a1ecbc3289593b75df2 /unsupported/test/cxx11_tensor_intdiv.cpp | |
parent | 66ff9b2c6cdb6b0b105686556e6ef4a87bb9269f (diff) |
Fixed another clang compilation warning
Diffstat (limited to 'unsupported/test/cxx11_tensor_intdiv.cpp')
-rw-r--r-- | unsupported/test/cxx11_tensor_intdiv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<int32_t, false> div(1); + const Eigen::internal::TensorIntDivisor<int32_t, false> 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); } |