Changeset 094e320 in sasmodels


Ignore:
Timestamp:
Mar 17, 2016 11:07:16 AM (8 years ago)
Author:
wojciech
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:
c515b1b
Parents:
e2af2a9
Message:

Fixed cosf and sqrtf

File:
1 edited

Legend:

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

    re2af2a9 r094e320  
    249249 
    250250    q = 1.0/x; 
    251     w = sqrtf(q); 
     251    w = sqrt(q); 
    252252 
    253253    p = w * polevl( q, MO, 7); 
    254254    w = q*q; 
    255255    xn = q * polevl( w, PH, 7) - PIO4F; 
    256     p = p * cosf(xn + xx); 
     256    p = p * cos(xn + xx); 
    257257    return(p); 
    258258#endif 
Note: See TracChangeset for help on using the changeset viewer.