Skip to content

Commit

Permalink
Fixed an if condition (#875)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
  • Loading branch information
dsuponitskiy and dsuponitskiy-duality authored Oct 7, 2024
1 parent 4ec49ec commit cf579ba
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 cf579ba

Please sign in to comment.