chore: fix nighlty lint

This commit is contained in:
Mayeul de Bellabre
2023-01-02 12:23:19 +01:00
committed by mayeul-zama
parent 919e9e887f
commit d4855429d7
2 changed files with 3 additions and 3 deletions

View File

@@ -888,9 +888,9 @@ mod tests {
let shape = Shape::number();
let mut dag = unparametrized::OperationDag::new();
let weight = Weights::number(weight);
let val = dag.add_input(precision, &shape);
let val = dag.add_input(precision, shape);
let lut1 = dag.add_rounded_lut(val, FunctionTable::UNKWOWN, rounded_precision, precision);
let dot = dag.add_dot([lut1], &weight);
let dot = dag.add_dot([lut1], weight);
let _lut2 = dag.add_rounded_lut(
dot,
FunctionTable::UNKWOWN,

View File

@@ -53,7 +53,7 @@ impl PersistDecompCaches {
ks: keyswitch::cache(security_level, processing_unit, complexity_model.clone()),
cmux: cmux::cache(security_level, processing_unit, complexity_model.clone()),
pp: pp_switch::cache(security_level, processing_unit, complexity_model.clone()),
cb: circuit_bootstrap::cache(security_level, processing_unit, complexity_model.clone()),
cb: circuit_bootstrap::cache(security_level, processing_unit, complexity_model),
cache_on_disk,
};
if cache_on_disk {