Skip to content

Commit

Permalink
Fixed an if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuponitskiy-duality committed Oct 4, 2024
1 parent d22b0e9 commit 984b479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pke/lib/scheme/ckksrns/ckksrns-leveledshe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ std::vector<DCRTPoly::Integer> LeveledSHECKKSRNS::GetElementForEvalMult(ConstCip

std::vector<DCRTPoly::Integer> factors(numTowers);

if (large_abs > bound) {
if (large_abs >= bound) {
for (usint i = 0; i < numTowers; i++) {
DoubleInteger reduced = large % moduli[i].ConvertToInt();

Expand Down

0 comments on commit 984b479

Please sign in to comment.