From e8417a3e84949c9d53778eb24363896d0bc98bdb Mon Sep 17 00:00:00 2001 From: sajetan Date: Thu, 21 Jul 2022 19:28:55 +0200 Subject: [PATCH] Minor fix in multiplyPtxt Minor fix in multiplyPtxt --- tests/TestBootstrappingWithMultiplications.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {