bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] bug in gsl_root_test_delta()


From: Dave Spiegel
Subject: [Bug-gsl] bug in gsl_root_test_delta()
Date: Wed, 12 Apr 2006 20:38:05 -0400

Dear bug-gsl,

I think that I have found a bug in the function gsl_root_test_delta.

When x1 and x0 are both 0.0, gsl_root_test_delta returns -2, indicating failure to converge.

For instance, the following line of code:

printf("Testing gsl_root_test_delta: %d\n", gsl_root_test_delta(0., 0., 0., 1e-3));

results in the following output:

  Testing gsl_root_test_delta: -2


Best,
Dave Spiegel





reply via email to

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