mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 04:35:04 +00:00
* Revert "frame-benchmarking: Fix `min-square` for `--steps=1` (#10323)"
This reverts commit 2d0e858b81.
* actual fix
This commit is contained in:
1 parent
c5ae5190b2
commit
a33b7c2e36
1 file changed
+1
-1
@@ -199,7 +199,7 @@ impl Analysis {
|
||||
}
|
||||
|
||||
pub fn min_squares_iqr(r: &Vec<BenchmarkResult>, selector: BenchmarkSelector) -> Option<Self> {
|
||||
if r[0].components.len() <= 1 {
|
||||
if r[0].components.is_empty() || r.len() <= 2 {
|
||||
return Self::median_value(r, selector)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user