Skip to content
Snippets Groups Projects
Verified Commit 8ad906d3 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix length determination for summaryslices

parent 7a457b14
No related branches found
No related tags found
1 merge request!68Rewrite the online module
Pipeline #25150 passed
...@@ -61,7 +61,7 @@ class SummarysliceReader: ...@@ -61,7 +61,7 @@ class SummarysliceReader:
return next(self._summaryslices) return next(self._summaryslices)
def __len__(self): def __len__(self):
return int(np.ceil(len(self._branch) / self._step_size)) return int(np.ceil(self._branch.num_entries / self._step_size))
@nb.vectorize( @nb.vectorize(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment