Changeset d507c3a in sasmodels for sasmodels/models/stacked_disks.c


Ignore:
Timestamp:
Feb 18, 2016 7:44:59 AM (7 years ago)
Author:
piotr
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:
c9f885e, cc3fac6
Parents:
7d4428c
Message:

Fixed deg→rad conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/stacked_disks.c

    r66d119f rd507c3a  
    142142 
    143143    double ct, st, cp, sp; 
     144 
     145    //convert angle degree to radian 
     146    theta = theta * M_PI/180.0; 
     147    phi = phi * M_PI/180.0; 
     148 
    144149    SINCOS(theta, st, ct); 
    145150    SINCOS(phi, sp, cp); 
Note: See TracChangeset for help on using the changeset viewer.