diff --git a/src/pke/lib/scheme/ckksrns/ckksrns-leveledshe.cpp b/src/pke/lib/scheme/ckksrns/ckksrns-leveledshe.cpp index e1d12ac34..889cd1e10 100644 --- a/src/pke/lib/scheme/ckksrns/ckksrns-leveledshe.cpp +++ b/src/pke/lib/scheme/ckksrns/ckksrns-leveledshe.cpp @@ -390,7 +390,7 @@ std::vector LeveledSHECKKSRNS::GetElementForEvalMult(ConstCip std::vector factors(numTowers); - if (large_abs > bound) { + if (large_abs >= bound) { for (usint i = 0; i < numTowers; i++) { DoubleInteger reduced = large % moduli[i].ConvertToInt();