mirror of
https://github.com/google/leveldb.git
synced 2025-04-25 14:00:27 +08:00
Merge aa2b55d88d
into ac691084fd
This commit is contained in:
commit
3264364859
@ -42,7 +42,7 @@ class Random {
|
||||
if (seed_ > M) {
|
||||
seed_ -= M;
|
||||
}
|
||||
return seed_;
|
||||
return seed_ - 1;
|
||||
}
|
||||
// Returns a uniformly distributed value in the range [0..n-1]
|
||||
// REQUIRES: n > 0
|
||||
|
Loading…
Reference in New Issue
Block a user