Skip to content

Commit

Permalink
Fix #1146
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Dec 24, 2022
1 parent 50a11a9 commit dde8908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/pkg/transformers/histogram.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@ func (tr *TransformerHistogram) emitNonAuto(

outrec.PutReference(
tr.outputPrefix+"bin_lo",
mlrval.FromFloat((tr.lo+float64(i))/tr.mul),
mlrval.FromFloat(tr.lo+float64(i)/tr.mul),
)
outrec.PutReference(
tr.outputPrefix+"bin_hi",
mlrval.FromFloat((tr.lo+float64(i+1))/tr.mul),
mlrval.FromFloat(tr.lo+float64(i+1)/tr.mul),
)

for _, valueFieldName := range tr.valueFieldNames {
Expand Down

0 comments on commit dde8908

Please sign in to comment.