aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-03-04 14:09:38 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-03-04 14:09:38 -0800
commit2c50fc878efc0033f2d39218c0b4e538ba93e271 (patch)
tree763bfae6734a9c9f6b6573ce599a0da55577d41f /unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h
parentdeea866bbd72ee7f8ae7ecd31a3d5e96e60269bf (diff)
Fixed a typo
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h
index ae0de9420..78d6da28a 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h
@@ -38,10 +38,10 @@ namespace {
#elif EIGEN_COMP_MSVC
DWORD leading_zeros = 0;
if (sizeof(T) == 8) {
- _BitScanReverse64(&leading_zero, val);
+ _BitScanReverse64(&leading_zeros, val);
}
else {
- _BitScanReverse(&leading_zero, val);
+ _BitScanReverse(&leading_zeros, val);
}
return leading_zeros;
#else