computer: shorten percentiles path in tree

This commit is contained in:
nym21
2026-01-13 01:49:13 +01:00
parent 670aa95494
commit 0c442b4a71

View File

@@ -122,10 +122,7 @@ impl Traversable for CostBasisPercentiles {
PERCENTILES
.iter()
.zip(self.vecs.iter())
.filter_map(|(p, v)| {
v.as_ref()
.map(|v| (format!("cost_basis_pct{p:02}"), v.to_tree_node()))
})
.filter_map(|(p, v)| v.as_ref().map(|v| (format!("pct{p:02}"), v.to_tree_node())))
.collect(),
)
}