Changeset a3e78c3 in sasmodels


Ignore:
Timestamp:
Jan 28, 2016 2:33:19 PM (9 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:
69ec80f
Parents:
4f2478e
Message:

simplify calculation for sph_j1c

File:
1 edited

Legend:

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

    r4f2478e ra3e78c3  
    2424 
    2525    const double bessel = (q < 0.384038453352533) 
    26         ? (1.0 + q2*(-3./30. + q2*(3./840.)) 
     26        ? (1.0 + q2*(-3./30. + q2*(3./840.))) 
    2727        : 3.0*(sin_q/q - cos_q)/q2; 
    2828 
Note: See TracChangeset for help on using the changeset viewer.