Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions pyroaring/abstract_bitmap.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ def _string_rep(bm):

num_columns = table_max_width // column_width

num_rows = len(bm) / float(num_columns)
if not num_rows.is_integer():
num_rows += 1
num_rows = int(num_rows)
num_rows = (len(bm) + num_columns - 1) // num_columns
rows = []
row_idx = 0
skipped = False
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
version=VERSION,
description='Library for handling efficiently sorted integer sets.',
long_description=long_description,
setup_requires=['cython>=3.0.2,<3.1.0'],
setup_requires=['cython>=3.0.2'],
url='https://github.com/Ezibenroc/PyRoaringBitMap',
author='Tom Cornebize',
author_email='tom.cornebize@gmail.com',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ setenv =
deps =
hypothesis
pytest
cython>=3.0.2,<3.1.0
cython>=3.0.2
passenv =
HYPOTHESIS_PROFILE
ROARING_BITSIZE
Expand Down
Loading