Revert "Fix local variable shadowing"
This reverts commit 2f8b5731dabb3162ca62a0e1901bb13f0ed83e4c.
This commit is contained in:
parent
74e58ddbb1
commit
4c54b287e4
@ -118,8 +118,8 @@ public:
|
||||
if( (indices.size() == feature_size_ * CHAR_BIT) || (indices.size() < key_size_) )
|
||||
{
|
||||
indices.resize( feature_size_ * CHAR_BIT );
|
||||
for (size_t j = 0; j < feature_size_ * CHAR_BIT; ++j)
|
||||
indices[j] = j;
|
||||
for (size_t i = 0; i < feature_size_ * CHAR_BIT; ++i)
|
||||
indices[i] = i;
|
||||
std::random_shuffle(indices.begin(), indices.end());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user