Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid NoSuchElementException in MathPlume.modulusStrictInt #371

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

jyoo980
Copy link
Contributor

@jyoo980 jyoo980 commented Jan 30, 2024

This patch brings the implementation of MathPlume.modulusStrictInt in-line with its specification; specifically:

* @return an array of two integers (r,m) such that each number in NUMS is equal to r (mod m), or
* null if no such exists or the iterator contains fewer than 3 elements

@mernst mernst merged commit 88be5b3 into plume-lib:master Jan 30, 2024
4 checks passed
@jyoo980 jyoo980 deleted the yoo/patch-mathplume branch January 30, 2024 18:30
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.

2 participants