mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 03:25:05 -05:00
fix(optimizer): optimize partition in reverse order
note: it was initially the case, but it was simplified and we didn't see shortcomings on tests.
This commit is contained in:
@@ -861,7 +861,7 @@ pub fn optimize(
|
||||
|
||||
let mut fix_point = params.clone();
|
||||
for iter in 0..=10 {
|
||||
for partition in 0..nb_partitions {
|
||||
for partition in (0..nb_partitions).rev() {
|
||||
let new_params = optimize_macro(
|
||||
security_level,
|
||||
ciphertext_modulus_log,
|
||||
|
||||
Reference in New Issue
Block a user