Skip Menu |

This queue is for tickets about the stockmonkey CPAN distribution.

Report information
The Basics
Id: 111834
Status: resolved
Worked: 1.5 hours (90 min)
Priority: 0/
Queue: stockmonkey

People
Owner: jettero [...] cpan.org
Requestors: alexandrea514 [...] hotmail.com
Cc:
AdminCc:

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



Subject: issue with LaguerreFilter
Date: Sat, 6 Feb 2016 18:44:06 -0500
To: "bug-stockmonkey [...] rt.cpan.org" <bug-stockmonkey [...] rt.cpan.org>
From: alexandre 514 <alexandrea514 [...] hotmail.com>
Hi Paul, I was using your module 1 year ago (Dec.2014) and it was working fine. Today, I wanted to run my Perl program and I got an error without changing any line of code on LaguerreFilter module. I used the example provided and I got the same message on the variable declaration: my $avg = new Math::Business::LaguerreFilter; $avg->set_days(9); $avg->set_alpha(0.2); # same (roughly)I looked at your ATR module and I was able to make it works: my $lag = new Math::Business::LaguerreFilter(0.2,9); I would appreciate having the old declaration / initialization for passing value from other functions. Thanks Alex
Subject: RE: [rt.cpan.org #111834] AutoReply: issue with LaguerreFilter
Date: Sat, 6 Feb 2016 18:56:37 -0500
To: "bug-stockmonkey [...] rt.cpan.org" <bug-stockmonkey [...] rt.cpan.org>
From: alexandre 514 <alexandrea514 [...] hotmail.com>
Hi Paul, Just forget to include the error message for Ticket : 111834 Not a HASH reference at C:/Perl/site/lib/Math/Business/LaguerreFilter.pm line 52. Thanks Alex
I vaguely remember changing it so that it didn't have defaults because it wasn't clear what the defaults should be. It's not like the case of RSI where there was an original author (Wilder) that specified a preference for certain defaults. Laguerre filters are meant for digital signal processing and they're a bit of an odd fit for this purpose. I'll look at it later and see if I left myself notes about it — and in any case, address the internal error. -Paul -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
Well, it shouldn't crash anymore. It may not work precisely the same, because I picked some random defaults off the top of my head, but it shouldn't crash and should accept input values, etc. If the first thing you do is set the alpha/days, then it should work the same as you remember it working. 2.9406 should hit the CPAN at some point today (or check http://jettero.pl/) -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.