[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] Hang caused by Inf inputs in hermite special function
From: |
Jackson Vanover |
Subject: |
[Bug-gsl] Hang caused by Inf inputs in hermite special function |
Date: |
Mon, 15 Jul 2019 16:20:24 -0700 |
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
- [Bug-gsl] Hang caused by Inf inputs in hermite special function,
Jackson Vanover <=