Changes in / [4fd2c63:0dd4199] in sasmodels


Ignore:
Location:
sasmodels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_header.c

    redf06e1 r1557a1e  
    6161         #define NEED_EXPM1 
    6262         #define NEED_TGAMMA 
    63          // expf missing from windows? 
    64          #define expf exp 
    6563     #else 
    6664         #include <tgmath.h> // C99 type-generic math, so sin(float) => sinf 
  • sasmodels/models/lib/sas_erf.c

    redf06e1 r1557a1e  
    280280    else 
    281281        x = a;*/ 
    282     // TODO: tinycc does not support fabsf 
    283     x = fabs(a); 
     282 
     283    x = fabsf(a); 
    284284 
    285285 
     
    302302            return (0.0); 
    303303    } 
     304 
    304305    z = expf(z); 
    305306 
     
    331332    float y, z; 
    332333 
    333     // TODO: tinycc does not support fabsf 
    334     if (fabs(x) > 1.0) 
     334    if (fabsf(x) > 1.0) 
    335335        return (1.0 - erfcf(x)); 
    336336 
  • sasmodels/models/spherical_sld.py

    r0dd4199 r0dd4199  
    217217              ] 
    218218# pylint: enable=bad-whitespace, line-too-long 
    219 source = ["lib/polevl.c", "lib/sas_erf.c", "lib/librefl.c",  "lib/sph_j1c.c", "spherical_sld.c"] 
     219source = ["lib/sas_erf.c", "lib/librefl.c",  "lib/sph_j1c.c", "spherical_sld.c"] 
    220220single = False  # TODO: fix low q behaviour 
    221221 
Note: See TracChangeset for help on using the changeset viewer.