Skip Menu |

This queue is for tickets about the PDL-Algorithm-Center CPAN distribution.

Report information
The Basics
Id: 127721
Status: resolved
Priority: 0/
Queue: PDL-Algorithm-Center

People
Owner: djerius [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc: tobyink [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: 0.10



CC: tobyink [...] cpan.org
Subject: t/sigma_clip.t fails (with newer Type::Tiny?)
The test suite started to fail: ... Prototype mismatch: sub main::float ($;@) vs none at (eval 213) line 6. # Failed test 'log = string' # at t/sigma_clip.t line 198. # <undef> is neither a blessed reference or a package name. # Failed test 'log' # at t/sigma_clip.t line 202. # Seeded srand with seed '20181118' from local date. t/sigma_clip.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/18 subtests ... Statistical analysis suggests that this happens with the newest Type::Tiny (1.004002): **************************************************************** (3) **************************************************************** Regression 'mod:Type::Library' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 71448910445527168.00 [1='eq_1.002002'] 0.0000 0.0000 2.69 [2='eq_1.004002'] -1.0000 0.0000 -41727954247186296.00 R^2= 1.000, N= 140, K= 3 **************************************************************** (4) **************************************************************** Regression 'mod:Type::Params' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 71448910445527168.00 [1='eq_1.002002'] 0.0000 0.0000 2.69 [2='eq_1.004002'] -1.0000 0.0000 -41727954247186296.00 R^2= 1.000, N= 140, K= 3 **************************************************************** (5) **************************************************************** Regression 'mod:Type::Tiny' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 71448910445527168.00 [1='eq_1.002002'] 0.0000 0.0000 2.69 [2='eq_1.004002'] -1.0000 0.0000 -41727954247186296.00 R^2= 1.000, N= 140, K= 3 **************************************************************** (6) **************************************************************** Regression 'mod:Type::Utils' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 71448910445527168.00 [1='eq_1.002002'] 0.0000 0.0000 2.69 [2='eq_1.004002'] -1.0000 0.0000 -41727954247186296.00 R^2= 1.000, N= 140, K= 3 **************************************************************** (7) **************************************************************** Regression 'mod:Types::Common::Numeric' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 71448910445527168.00 [1='eq_1.002002'] 0.0000 0.0000 2.69 [2='eq_1.004002'] -1.0000 0.0000 -41727954247186296.00 R^2= 1.000, N= 140, K= 3 **************************************************************** (8) **************************************************************** Regression 'mod:Types::Standard' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 71448910445527168.00 [1='eq_1.002002'] 0.0000 0.0000 2.69 [2='eq_1.004002'] -1.0000 0.0000 -41727954247186296.00 R^2= 1.000, N= 140, K= 3 ****************************************************************
On Sun Nov 18 12:04:36 2018, SREZIC wrote: Show quoted text
> The test suite started to fail: > > ... > Prototype mismatch: sub main::float ($;@) vs none at (eval 213) line > 6. > # Failed test 'log = string' > # at t/sigma_clip.t line 198. > # <undef> is neither a blessed reference or a package name. >
There's a change in the behavior of Types::Standard::Bool, which I've accommodated for in version 0.10. Thanks much for the bug report!