For more information about this bug, visit
A comment was added:
------- Comment #11 from wim [dot] meeussen [..] ... 2007-05-25 12:39
Replace int by unsigned int and add checks: Rev 28190
changes:
trunk/bfl/src/pdf/discretepdf.cpp
trunk/bfl/src/pdf/pdf.h
trunk/bfl/src/pdf/discretepdf.h
[Bug 329] Add function to get one sample + change int into unsig
For more information about this bug, visit
wim [dot] meeussen [..] ... changed:
What |Removed |Added
---------------------------------------------------------------------------
Resolution| |FIXED
Status|REOPENED |RESOLVED
------- Comment #12 from wim [dot] meeussen [..] ... 2007-05-25 14:59
I think we can close this bug now. We added the unsigned int's to the interface
(I will check if the API doc was updated too), and we parform checks to
"negative" unsigned int's. As for the helper class, this seems to be a matter
of taste if this improves code readability or not.