mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 22:49:49 +00:00
frame-benchmarking: Fix min-square for --steps=1 (#10323)
This commit is contained in:
1 parent
e5108606eb
commit
2d0e858b81
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.is_empty() {
|
||||
if r[0].components.len() <= 1 {
|
||||
return Self::median_value(r, selector)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user