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

Question on LweParams about alpha_min and alpha_max. #5

Open
Ntopia02 opened this issue Apr 18, 2024 · 0 comments
Open

Question on LweParams about alpha_min and alpha_max. #5

Ntopia02 opened this issue Apr 18, 2024 · 0 comments

Comments

@Ntopia02
Copy link

In nn.cpp our_default_gate_bootstrapping_parameters, i found that alpha_min > alpha_max and the relevant portion of the code is below:

#define SEC_PARAMS_STDDEV    pow(2., -30)
#define SEC_PARAMS_KS_STDDEV pow(2., -25)   /// Key Switching Params

static const double max_stdev = SEC_PARAMS_STDDEV;
static const double ks_stdev = SEC_PARAMS_KS_STDDEV;
...
LweParams  *params_in    = new_LweParams (n,    ks_stdev, max_stdev);

Is this the intended behavior or if it might be a bug? Any guidance or clarification would be appreciated.

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

No branches or pull requests

1 participant