Skip to content

Commit

Permalink
Clean up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdalpino committed Oct 15, 2024
1 parent 52486bd commit 7b2b37b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/okbloomer/bloom_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ def exists_or_insert(self, token: str) -> bool:
return exists

def _add_layer(self) -> None:
"""
Add another layer to the filter for maintaining the false positivity rate below the threshold.
"""
"""Add another layer to the filter for maintaining the false positivity rate below the threshold."""
self.layers.append(np.zeros(self.layer_size, dtype='bool'))

self.m += self.layer_size
Expand Down

0 comments on commit 7b2b37b

Please sign in to comment.