Skip to content

Commit

Permalink
Minor fix to key allocator
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Jul 4, 2015
1 parent fa26ce3 commit cc5ff8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, fixed_mask, fields, free_space_list):

expanded_mask = utility_calls.expand_to_bit_array(fixed_mask)
zeros = numpy.where(expanded_mask == 0)[0]
self._n_mask_keys = 2 ** zeros
self._n_mask_keys = 2 ** len(zeros)

# If there are no fields, add the mask as a field
the_fields = fields
Expand Down

0 comments on commit cc5ff8b

Please sign in to comment.