Skip to content

Commit

Permalink
Update Simple8bCode.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Chasing Cars committed Jan 12, 2016
1 parent 354e116 commit e5a3541
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/Simple8bCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ namespace ad_utility {
while (nofElementsEncoded < nofElements) {
// it's the lambda.
size_t itemsLeft = nofElements - nofElementsEncoded;
// Count the number of consecutive 0's and decide if
// selectors 0 or 1 can be used
bool selector0 = true;
bool selector1 = false;
for (size_t i = 0; i < std::min<size_t>(240, itemsLeft); ++i) {
Expand Down

0 comments on commit e5a3541

Please sign in to comment.