tuneinsight/lattigo

Bug[rlwe]: bad `rlwe.Parameters` initialization with no error

Closed this issue · 0 comments

Initialization of rlwe.Parameters through rlwe.NewParametersFromLiteral returns parameters with an empty set of special primes and no error in the following cases:

  • Q is specified as Q: []uint64{..} but P as LogP: []int{...}
  • Q is specified as LogQ: []int{...} but P as P: []uint64{...}