Skip to content

Commit

Permalink
Merge pull request #263 from DimitriPapadopoulos/PTC-W0015
Browse files Browse the repository at this point in the history
Unnecessary generator
  • Loading branch information
FrancescAlted authored Sep 23, 2024
2 parents e0a3d2a + 36fa078 commit 258ac71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blosc2/lazyexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def fill_chunk_operands(
arr = operands["o0"]
chunks_idx, nchunks = get_chunks_idx(arr.shape, arr.chunks)
info = (reduc, aligned, low_mem, chunks_idx)
iter_chunks = read_nchunk(list(value for value in operands.values()), info)
iter_chunks = read_nchunk(list(operands.values()), info)
# Run the asynchronous file reading function from a synchronous context
chunks = next(iter_chunks)

Expand Down

0 comments on commit 258ac71

Please sign in to comment.