in

.NET Opensource

Community for opensource projects by Christoph Rüegg

ArbitraryDistribution - possible bug

Last post 03-31-2008 12:09 by Christoph Rüegg. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-05-2008 14:28

    • PeterK
    • Top 75 Contributor
    • Joined on 03-05-2008
    • Posts 1

    ArbitraryDistribution - possible bug

    Hi,

    Just trying to use the ArbitraryDistribution class in Iridium, and I'm either doing something wrong, or there's a slight buglet. When setting the distribution parameters, _first and _last are set correctly, but when returning the NextInt32(), _first is never considered. I would have assumed that the index used should be added to _first to get the true next random int.

     Please let me know if I'm using the class incorrectly!

    Thanks,

    PK.

  • 03-05-2008 14:55 In reply to

    Re: ArbitraryDistribution - possible bug

    Answer

    Correct, that's bug IRID-98 and will be fixed in the next release. Thanks for reporting!

    Filed under: , ,
  • 03-05-2008 15:01 In reply to

    Re: ArbitraryDistribution - possible bug

     Just fixed it in revision 366. Thanks.

  • 03-31-2008 12:09 In reply to

    Re: ArbitraryDistribution - possible bug

    FYI: The Iridium 2008 March Release (v2008.3.12.405) is now available, which includes the mentioned fix.

Page 1 of 1 (4 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems