mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Fixed a typo
This commit is contained in:
parent
deea866bbd
commit
2c50fc878e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user