clean arithmetic and unify names with the new api (#8581)

This commit is contained in:
Kian Paimani
2021-04-09 16:36:06 +02:00
committed by GitHub
parent 7e59d172b8
commit 373e3a4ddc
6 changed files with 30 additions and 32 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ mod multiplier_tests {
let m = max_normal() as f64;
// block weight always truncated to max weight
let block_weight = (block_weight as f64).min(m);
let v: f64 = AdjustmentVariable::get().to_fraction();
let v: f64 = AdjustmentVariable::get().to_float();
// Ideal saturation in terms of weight
let ss = target() as f64;