mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
* Revert "frame-benchmarking: Fix `min-square` for `--steps=1` (#10323)"
This reverts commit 2d0e858b81.
* actual fix
This commit is contained in:
@@ -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