Changeset e07b470 in sasmodels


Ignore:
Timestamp:
Apr 26, 2016 9:54:45 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
c7b058e
Parents:
bfdfb23
Message:

fix compile errors with sas gamma

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lib/sas_gamma.c

    rbfdfb23 re07b470  
    1010inline double sas_gamma( double x) { return tgamma(x+1)/x; } 
    1111#else 
    12 double _isnan(double x, double y) { return x != y; } 
    13 #undef isnan 
    14 #define isnan(x) _isnan(x, x) 
    15  
    1612static double cephes_stirf(double x) 
    1713{ 
    1814#define MAXSTIR 143.01608 
    19         static double SQTPI = 2.50662827463100050242E0; 
     15#define SQTPI 2.50662827463100050242E0 
    2016        double y, w, v; 
    2117 
     
    4440 
    4541double sas_gamma(double x) { 
    46         #define MAXGAM 171.624376956302725 
    47         static double LOGPI = 1.14472988584940017414; 
     42#define MAXGAM 171.624376956302725 
     43#define LOGPI 1.14472988584940017414 
    4844        double p, q, z; 
    4945        int sgngam; 
Note: See TracChangeset for help on using the changeset viewer.