Skip to content

Commit

Permalink
chore(optimizer): fix new nightly lints
Browse files Browse the repository at this point in the history
  • Loading branch information
aPere3 committed Jan 18, 2024
1 parent 75d33d4 commit 4df041c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ impl Feasible {
constraint.partition == partition
|| (0..nb_partitions).any(|i| touch_any_ks(constraint, i))
})
.map(VarianceConstraint::clone)
.cloned()
.collect();
Self::of(&partition_constraints, self.kappa, self.global_p_error)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ impl ExpandedCircuitKeys {
// initial key to final key (identifier change + description change)
let mut final_keys: HashMap<Id, SecretLweKey> = HashMap::new();
let mut final_groups: HashMap<Id, Vec<Id>> = HashMap::new();
let mut new_secret_keys = vec![vec![], vec![]];
let mut new_secret_keys = [vec![], vec![]];

for (case, &secret_keys) in [&self.big_secret_keys, &self.small_secret_keys]
.iter()
Expand Down

0 comments on commit 4df041c

Please sign in to comment.