bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] Bug with hypergeometric function


From: antiwin antiwin
Subject: [Bug-gsl] Bug with hypergeometric function
Date: Mon, 14 Apr 2008 12:54:56 +0400

 Hi,

I have found a problem with the function gsl_sf_hyperg_2F0. The program that
I used is the following:
#include<stdio.h>
#include<gsl/gsl_sf_hyperg.h>
int main(void)
{
double a,b,x,y;
a=1;
b=2;
x=5;
y=gsl_sf_hyperg_2F0(a,b,x);
return 0;
}

The compilation goes without error but when I try to execute the program I
get the following error

gsl: hyperg_2F0.c:52: ERROR: domain error
Default GSL error handler invoked.
Abandon

When I substitute the gsl_sf_hyperg_2F0 by a bessel function the program
goes well... It seems that there is a bug in this function...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]