Skip to content

Commit

Permalink
revert back to no len
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 22, 2024
1 parent b5f5bc9 commit 12051b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinn_utilities/progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,6 @@ def __repr__(self) -> str:
demo.end()

_collection = [2, 3, 5, 7, 11, 13, 17]
demo = ProgressBar(len(_collection), "Demo over a few primes")
demo = ProgressBar(_collection, "Demo over a few primes")
for prime in demo.over(_collection):
sleep(0.1)

0 comments on commit 12051b6

Please sign in to comment.