Ticket #586 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Bug in VectorHelper::rebinHistogram function

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: major Milestone: Iteration 18
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Rebinning this:

X[0] = 3.5

Y[0] = 1.0

X[1] = 4.25

Y[1] = 1.0

X[2] = 5.0

Gives:

X[0] = 1.5

Y[0] = 0.0

X[1] = 3.5

Y[1] = 3.67

X[2] = 5.5

Y[2] = -0.67

X[3] = 7.5

Y[3] = 0.0

X[4] = 9.5

Clearly this is not right.

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 17 to Iteration 18

Moved as part of iteration end

comment:2 Changed 11 years ago by Nick Draper

  • Owner set to Russell Taylor

comment:3 Changed 11 years ago by Russell Taylor

  • Status changed from new to assigned

comment:4 Changed 11 years ago by Russell Taylor

(In [2596]) Rewrite VectorHelper::rebinHistogram function to resolve a bug that could incorrect counts at the ends of ranges. This one is no slower than the previous. Re #586.

comment:5 Changed 11 years ago by Russell Taylor

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1434

Note: See TracTickets for help on using tickets.