Fix typo in RangeTable

This commit is contained in:
Patrick Niklaus 2014-06-14 15:23:56 +02:00
parent 8d46ee85f1
commit b32062f875

View File

@ -117,7 +117,8 @@ public:
{ {
// the last value is used as sentinel // the last value is used as sentinel
block_offsets.push_back(lengths_prefix_sum); block_offsets.push_back(lengths_prefix_sum);
block_idx = (block_idx + 1) % BLOCK_SIZE; block_idx = 1;
last_length = 0;
} }
while (0 != block_idx) while (0 != block_idx)