report/comparisonOfMeans.go: obj init readability
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-02-23 23:16:31 +01:00
parent 6c1458f08b
commit 5b02120f96
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -35,9 +35,10 @@ func SaveComparisonOfMeans(p PicList, benchCount int) {
// split the slice to smaller, per-bench slices.
for i := 0; i < len(p.Pics); i += benchCount {
pL := &PicList{}
pL.Pics = p.Pics[i : i+benchCount]
pL.Bench = p.Pics[i].Bench
pL := &PicList{
Pics: p.Pics[i : i+benchCount],
Bench: p.Pics[i].Bench,
}
benchPicLists = append(benchPicLists, *pL)
}