Skip to content

Conversation

@Arshammik
Copy link
Collaborator

Convert N and J to numeric before multiplication to prevent overflow when N * J exceeds 2^31-1 (e.g., 4M cells × 20K genes = 80B).

Convert N and J to numeric before multiplication to prevent overflow
when N * J exceeds 2^31-1 (e.g., 4M cells × 20K genes = 80B).
@Arshammik
Copy link
Collaborator Author

Arshammik commented Nov 17, 2025

This pull request should Resolve #20

@Arshammik Arshammik merged commit 37af10d into main Nov 17, 2025
5 checks passed
@Arshammik Arshammik deleted the fix/integer-overflow branch November 19, 2025 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant