Merge pull request #76 from abyss7:patch-1

PiperOrigin-RevId: 248211389
This commit is contained in:
Chris Mumford
2019-05-14 14:27:56 -07:00

View File

@@ -469,7 +469,7 @@ inline int Bits::Log2FloorNonZero(uint32 n) {
}
inline int Bits::Log2Floor(uint32 n) {
return (n == 0) ? -1 : Bits::Log2FloorNonZero(arg);
return (n == 0) ? -1 : Bits::Log2FloorNonZero(n);
}
inline int Bits::FindLSBSetNonZero(uint32 n) {