Fixed a typo

This commit is contained in:
Benoit Steiner 2016-03-04 14:09:38 -08:00
parent deea866bbd
commit 2c50fc878e

View File

@ -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