Skip to content

Commit

Permalink
fix: ensure start, end are integers
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Oct 25, 2024
1 parent ca71cc2 commit 9d1a82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions igneous/task_creation/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ def create_unsharded_multires_mesh_tasks(
mesh_dir
)

start = 10 ** (magnitude - 1)
end = 10 ** magnitude
start = int(10 ** (magnitude - 1))
end = int(10 ** magnitude)

class UnshardedMultiResTaskIterator:
def __len__(self):
Expand Down

0 comments on commit 9d1a82c

Please sign in to comment.