diff --git a/src/pke/lib/scheme/ckksrns/ckksrns-leveledshe.cpp b/src/pke/lib/scheme/ckksrns/ckksrns-leveledshe.cpp index c12108ade..d25ee6f92 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();