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 debug tests #21

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Fix debug tests #21

merged 1 commit into from
Jul 19, 2024

Conversation

fboemer
Copy link
Contributor

@fboemer fboemer commented Jul 19, 2024

The culprits:

  • subtractIfExceeds had an incorrect assert
  • forwardNtt had
    • incorrect initialization of maxLazyReductionCounter, as well as
    • incorrect update of lazyReductionCounter for a special case when modulus.ceilLog2 == T.bitWidth - 3

@fboemer fboemer enabled auto-merge (squash) July 19, 2024 17:04
@fboemer fboemer merged commit 8a67b7b into main Jul 19, 2024
@fboemer fboemer deleted the fboemer/fix-debug-tests branch July 19, 2024 17:10
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