Skip to content

Question on LweParams about alpha_min and alpha_max. #5

@Ntopia02

Description

@Ntopia02

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions