[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] Hang caused by Inf inputs in hermite special function
From: |
Patrick Alken |
Subject: |
Re: [Bug-gsl] Hang caused by Inf inputs in hermite special function |
Date: |
Tue, 16 Jul 2019 17:56:10 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
Hello, some work was done on the hermite functions in the current branch
of GSL on the git repository. Could you test this issue by checking out
the latest git version?
Thanks,
Patrick
On 7/15/19 7:20 PM, Jackson Vanover wrote:
> Using version 2.5 of GSL from ftp://ftp.gnu.org/gnu/gsl/gsl-2.5.tar.gz
>
> OS is Ubuntu 18.04.2 LTS
>
> Hardware is a Dell XPS13 with Intel Corporation Xeon E3-1200 v6/7th Gen
> Core Processor Host Bridge/DRAM Registers [8086:5914] (rev 08)
>
> Compiler is gcc 7.4.0. Compulation options shown below
> gcc -O0 -I/path/to/include hangTest.c -o hangTest -L/path/to/lib -lgsl
> -lgslcblas -lm
>
> Description: When feeding gsl_sf_hermite_phys a positive or negative
> infinity, it hangs. The while condition at line 366 of hermite.c never
> evaluates to false.
>
> #include <gsl/gsl_sf_hermite.h>
> #include <gsl/gsl_math.h>
>
> void main(int argc, char * argv){
> gsl_sf_hermite_phys(2,GSL_POSINF);
> }
>
> Best,
> Jackson Vanover