in reply to Problem with Statistics::Burst
Did you supply an array of data in @gap_space? I can easily imagine process() taking the log of 0 when it doesn't have any data (which indicates a lack of robustness in the code, IMHO).use Statistics::Burst; my $burstObj=Burst::new(); $burstObj->generateStates(3,.111,2); $burstObj->gamma(.5); $burstObj->setData(\@gap_space); $burstObj->process(); $statesUsed=$burstObj->getStatesUsed();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with Statistics::Burst
by MacTommy (Initiate) on Feb 26, 2007 at 12:56 UTC | |
by rhesa (Vicar) on Feb 26, 2007 at 15:22 UTC |