Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Math-Random-OO CPAN distribution.

Report information
The Basics
Id: 45630
Status: resolved
Priority: 0/
Queue: Math-Random-OO

People
Owner: Nobody in particular
Requestors: alhalabi [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: seed does not seem to be working
Hello I am trying to write a simple program using the generator but changing the seed value does not seem to change the outcome #Create the normal random variable $rv = Math::Random::OO::Normal->new($mean,$sigma); $rv->seed( $seed ); $x = $rv->next(); What are the limits of the seed? I tried less than 1 and larger than 1 but nothing changed the outcome! Thanks Abdul
There was a bug in seed(). Fixed in 0.21, which was just uploaded to CPAN. Seeds will be truncated to integers just like srand() so you'll need to use different integers to get different values. Thank you for finding and reporting this bug. David