Skip to content

Commit 26314c8

Browse files
authored
Update Test_IO.cpp
1 parent 2ebe8fc commit 26314c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Test_IO.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int main(int argc, char *argv[])
5151
long p=2;
5252
long c = 2;
5353
long w = 64;
54-
54+
long L = 5;
5555
amap.arg("p", p, "plaintext base");
5656
amap.arg("r", r, "lifting");
5757
amap.arg("c", c, "number of columns in the key-switching matrices");
@@ -84,12 +84,12 @@ int main(int argc, char *argv[])
8484
ords[0] = ms[i][8]; ords[1] = ms[i][9];
8585

8686
contexts[i] = new FHEcontext(m, p, r, gens, ords);
87-
buildModChain(*contexts[i], ptxtSpace, c); // Set the modulus chain
87+
buildModChain(*contexts[i], L, c); // Set the modulus chain
8888
contexts[i]->makeBootstrappable(mvec);
8989
}
9090
else {
9191
contexts[i] = new FHEcontext(m, p, r);
92-
buildModChain(*contexts[i], ptxtSpace, c); // Set the modulus chain
92+
buildModChain(*contexts[i], L, c); // Set the modulus chain
9393
}
9494

9595
// Output the FHEcontext to file

0 commit comments

Comments
 (0)