[Bug 493] New: Ripley sampling of discrete pdf returns values between 1 and NUM_DS in stead of between 0 and NUM_DS-1

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=493>

           Summary: Ripley sampling of discrete pdf returns values between 1
                    and NUM_DS in stead of between 0 and NUM_DS-1
           Product: BFL
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: bfl [..] 
        ReportedBy: tinne delaet [..] 
                CC: bfl [..] 
   Estimated Hours: 0.0

Ripley sampling of discrete pdf returns values between 1 and NUM_DS in stead of
between 0 and NUM_DS-1, which is in contrast with the default sampling.

Tinne

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

[Bug 493] Ripley sampling of discrete pdf returns values between

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=493>

Tinne De Laet <tinne delaet [..] > changed:

           What    |Removed                     |Added
 --------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|bfl [..]   |tinne delaet [..] en.b
                   |                            |e
--- Comment #1 from Tinne De Laet <tinne delaet [..] >  2008-01-18 15:22:37 ---

Created an attachment (id=211)

 --> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=211)

this solves the bug IMO

[Bug 493] Ripley sampling of discrete pdf returns values between

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=493>

Tinne De Laet <tinne delaet [..] > changed:

           What    |Removed                     |Added
 --------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
--- Comment #2 from Tinne De Laet <tinne delaet [..] >  2008-01-18 15:23:48 ---

Patch applied in revision 28845.

Sending discretepdf.cpp
Transmitting file data .
Committed revision 28845.