Changeset 05cd67f in sasmodels


Ignore:
Timestamp:
Jun 29, 2018 3:28:19 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3ba2251
Parents:
3b8a004
Message:

use floating point routine fabs (breaks in openCL otherwise)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/guinier.py

    r3b8a004 r05cd67f  
    5959 
    6060Iq = """ 
    61     double exponent = abs(rg)*rg*q*q/3.0; 
     61    double exponent = fabs(rg)*rg*q*q/3.0; 
    6262    double value = exp(-exponent); 
    6363    return value; 
Note: See TracChangeset for help on using the changeset viewer.