Changeset edf06e1 in sasmodels for sasmodels/models/lib/sas_erf.c


Ignore:
Timestamp:
Aug 2, 2016 1:44:45 PM (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:
ec87470
Parents:
63c6a08
Message:

fix tinycc build of sphere_sld

File:
1 edited

Legend:

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

    r1557a1e redf06e1  
    280280    else 
    281281        x = a;*/ 
    282  
    283     x = fabsf(a); 
     282    // TODO: tinycc does not support fabsf 
     283    x = fabs(a); 
    284284 
    285285 
     
    302302            return (0.0); 
    303303    } 
    304  
    305304    z = expf(z); 
    306305 
     
    332331    float y, z; 
    333332 
    334     if (fabsf(x) > 1.0) 
     333    // TODO: tinycc does not support fabsf 
     334    if (fabs(x) > 1.0) 
    335335        return (1.0 - erfcf(x)); 
    336336 
Note: See TracChangeset for help on using the changeset viewer.