diff --git a/tests/TestBootstrappingWithMultiplications.cpp b/tests/TestBootstrappingWithMultiplications.cpp index b7185a792..fbf403760 100644 --- a/tests/TestBootstrappingWithMultiplications.cpp +++ b/tests/TestBootstrappingWithMultiplications.cpp @@ -203,7 +203,7 @@ long multiplyWithRecryption(helib::Ctxt& ctxt, return count; } -void multiplyPtxt(std::vector ptxt, long count, long nslots, long p2r) +void multiplyPtxt(std::vector& ptxt, long count, long nslots, long p2r) { std::vector tmp_ptxt(ptxt); for (int j = 0; j < count; j++) {