-
Notifications
You must be signed in to change notification settings - Fork 27
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
Corner cases of "modint" when mod = 1 #110
Labels
bug
Something isn't working
Milestone
Comments
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Jan 21, 2023
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Jan 21, 2023
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Jan 22, 2023
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Jan 22, 2023
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Mar 26, 2023
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Mar 26, 2023
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Mar 26, 2023
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Mar 27, 2023
Open
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Apr 17, 2023
mizar
added a commit
to mizar/ac-library-rs
that referenced
this issue
Apr 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ac-library-rs/src/modint.rs
Line 676 in d2b35ac
ac-library-rs/src/modint.rs
Line 1046 in d2b35ac
ac-library-rs/src/modint.rs
Line 1048 in d2b35ac
The identity of multiplication should be
Self::new(1)
(notraw
butnew
), because of following (corner) cases:Note that the original ACL allows to use
modint::set_mod(1)
.The text was updated successfully, but these errors were encountered: