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

Bug [ring]: bad distribution for large norm discrete Gaussian sampling #452

Open
Pro7ech opened this issue Apr 14, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Pro7ech
Copy link
Contributor

Pro7ech commented Apr 14, 2024

The distribution of the values sampled by the Gaussian sampler when using large norm (when $\sigma > 2^{53}$ or when $\mathcal{B} > 2^{64}-1$) does not look like a smooth Gaussian:

image
In orange the expected PDF, in blue the actual PDF for $\sigma = 2^{128}$.

@Pro7ech Pro7ech added the bug Something isn't working label Apr 14, 2024
@qantik
Copy link
Contributor

qantik commented May 7, 2024

Hi, can you make this issue compliant with the template?

What version of Lattigo are you using?

Does this issue persist with the latest release?

What were you trying to do?

What were you expecting to happen?

What actually happened?

Reproducibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants