Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 19, 2025
1 parent 4b989c3 commit d49346a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scirpy/ir_dist/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ def calc_block_gpu(
the already calculated blocks.
Current number: {num_elements}, Maximum number: {np.iinfo(np.int32).max}.
Consider choosing a smaller cutoff to resolve this issue."""

result_sparse = result_blocks[0]
for i in range(1, len(result_blocks)):
result_sparse += result_blocks[i]

Check warning on line 1112 in src/scirpy/ir_dist/metrics.py

View check run for this annotation

Codecov / codecov/patch

src/scirpy/ir_dist/metrics.py#L1110-L1112

Added lines #L1110 - L1112 were not covered by tests
Expand Down

0 comments on commit d49346a

Please sign in to comment.