feat(optimizer): levelled circuit, no power of two constraint

This commit is contained in:
rudy
2023-08-10 00:32:27 +02:00
committed by rudy-6-4
parent be77fb26b8
commit dc0a3d8a2e
7 changed files with 30 additions and 21 deletions

View File

@@ -57,7 +57,8 @@ void test_dag_no_lut() {
dag->add_dot(slice(inputs), std::move(weights));
auto solution = dag->optimize_v0(default_options());
assert(solution.glwe_polynomial_size == 256);
assert(solution.glwe_polynomial_size == 1);
assert(solution.glwe_dimension == 555);
}
void test_dag_lut() {