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

Fix Fast Reduce #215

Merged
merged 2 commits into from
May 24, 2024
Merged

Fix Fast Reduce #215

merged 2 commits into from
May 24, 2024

Conversation

aszepieniec
Copy link
Collaborator

This PR fixes fast_reduce.

Function fast_reduce did not work when the modulus had structure, in particular when it had trailing zeros. The issue was that structured_multiple lost track of trailing zeros in the course of reversing coefficient vectors.

jan-ferdinand and others added 2 commits May 24, 2024 09:59
The issue was `structured_multiple` did not generate a multiple when
the argument had trailing zeros. These were lost in the course of
reversing.
@coveralls
Copy link

Coverage Status

coverage: 97.646% (-0.01%) from 97.66%
when pulling b9e39dd on dbg_fast_reduce
into ea398c0 on master.

@aszepieniec aszepieniec merged commit 000c0fd into master May 24, 2024
5 checks passed
@aszepieniec aszepieniec deleted the dbg_fast_reduce branch May 24, 2024 13:04
@jan-ferdinand
Copy link
Member

Thanks for identifying and fixing the underlying issue. 👏 I think that would have taken me a very long time (and hope this was not the case for you).

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.

None yet

3 participants