Changes in / [541e7c9:4937980] in sasmodels


Ignore:
Location:
sasmodels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    rd2bb604 re6408d0  
    1515 
    1616    *form_volume(p1, p2, ...)* returns the volume of the form with particular 
    17     dimension. 
     17    dimension, or 1.0 if no volume normalization is required. 
    1818 
    1919    *ER(p1, p2, ...)* returns the effective radius of the form with 
  • sasmodels/models/flexible_cylinder.c

    rd2bb604 re6408d0  
    22form_volume(length, kuhn_length, radius) 
    33{ 
    4     return 1.; 
     4    return 1.0; 
    55} 
    66 
  • sasmodels/models/lib/sas_JN.c

    r0278e3f re6408d0  
    5353 
    5454    const double MACHEP = 1.11022302462515654042E-16; 
    55     double pkm2, pkm1, pk, xk, r, ans, xinv; 
     55    double pkm2, pkm1, pk, xk, r, ans; 
    5656    int k, sign; 
    5757 
     
    123123 
    124124    #else 
    125         xinv = 1.0/x; 
     125        const double xinv = 1.0/x; 
    126126        pkm1 = ans * xinv; 
    127127        k = n-1; 
Note: See TracChangeset for help on using the changeset viewer.