[Apologies to Chris for duplicates - I neglected to send this to the list]
I don't know if it's bit rot, but PDL::GSLSF::GAMMA::gsl_sf_gamma and
similar functions blow up the pdl2 and perldl shells when passed a zero or
negative value.
This is using the Strawberry Perl PDL distribution, tested with both 5.22.2
and 5.24.1.
Maybe this is long-standing behaviour, but such crash inducing errors
should ideally be handled more gracefully.
Thanks,
Shawn.
C:\somedir>pdl2
<...snip...>
Perldl2 Shell v0.008
<...snip...>
Loaded PDL v2.017
pdl> use PDL::GSLSF::GAMMA
pdl> p gsl_sf_gamma (pdl (1..5))
[1 1 2 6 24] [2.220446e-016 2.220446e-016 4.4408921e-016 1.3322676e-015
5.3290705e-015]
pdl> p gsl_sf_gamma (pdl (0..5))
gsl: gamma.c:1264: ERROR: domain error
Default GSL error handler invoked.
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
On 28 April 2017 at 20:35, Chris Marshall <[email protected]> wrote:
> In light of some creeping crud issues with PDL:
>
> (1) the coming change removing '.' from @INC
> (2) a test failure in t/gd_oo_test.t
>
> lets plan on a minor update release of PDL to
> address these items. Feedback welcome.
>
> Cheers,
> Chris
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> pdl-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pdl-general
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general