[go: nahoru, domu]

Skip to content

Commit

Permalink
Minor fix in multiplyPtxt
Browse files Browse the repository at this point in the history
Minor fix in multiplyPtxt
  • Loading branch information
sajetan committed Jul 21, 2022
1 parent f0e3e01 commit e8417a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestBootstrappingWithMultiplications.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ long multiplyWithRecryption(helib::Ctxt& ctxt,
return count;
}

void multiplyPtxt(std::vector<long> ptxt, long count, long nslots, long p2r)
void multiplyPtxt(std::vector<long>& ptxt, long count, long nslots, long p2r)
{
std::vector<long> tmp_ptxt(ptxt);
for (int j = 0; j < count; j++) {
Expand Down

0 comments on commit e8417a3

Please sign in to comment.