Skip to content

Commit 6164d6d

Browse files
committed
fix frequency bucket assembly
Signed-off-by: Harper, Jason M <[email protected]>
1 parent c0aaefd commit 6164d6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/report/table_helpers.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ func getSpecFrequencyBuckets(outputs map[string]script.ScriptOutput) ([][]string
272272
archMultiplier = 1
273273
}
274274
for _, count := range bucketCoreCounts {
275+
if startRange > count {
276+
break
277+
}
275278
if archMultiplier > 1 {
276279
totalCoreCount := count * archMultiplier
277280
if totalCoreStartRange > int(totalCoreCount) {

0 commit comments

Comments
 (0)