bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] gsl_sf_coupling_6j_INCORRECT_e


From: Eric Diffenderfer
Subject: [Bug-gsl] gsl_sf_coupling_6j_INCORRECT_e
Date: Wed, 21 May 2003 14:02:30 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

GSL version 1.3

I geuss this is a bug:
There is a code error in function
gsl_sf_coupling_6j_INCORRECT_e line 200
of coupling.c in the specfunc directory.

The mistake is on line 207:


if(   two_ja < 0 || two_jb < 0 || two_jc < 0
     || two_jd < 0 || two_je < 0 || two_je < 0
     ) {
    DOMAIN_ERROR(result);
  }

It checks for (two_je < 0) twice.  It should be:
        
if(   two_ja < 0 || two_jb < 0 || two_jc < 0
     || two_jd < 0 || two_je < 0 || two_jf < 0
     ) {
    DOMAIN_ERROR(result);
  }






reply via email to

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