Changeset fbaef04 in sasmodels


Ignore:
Timestamp:
Sep 8, 2018 10:07:53 AM (2 months ago)
Author:
richardh
Branches:
beta_approx, py3, ticket-1015-gpu-mem-error, ticket-1157, ticket-608-user-defined-weights, ticket_1156
Children:
cc8b183
Parents:
a94046f
Message:

fixed bug ER function elliptical_cylinder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/elliptical_cylinder.c

    ra94046f rfbaef04  
    1616{ 
    1717    const double rad_min = (r_ratio > 1.0 ? radius_minor : r_ratio*radius_minor); 
    18     return (rad_min < length ? rad_min : hlength); 
     18    return (rad_min < hlength ? rad_min : hlength); 
    1919} 
    2020 
     
    2323{ 
    2424    const double rad_max = (r_ratio < 1.0 ? radius_minor : r_ratio*radius_minor); 
    25     return (rad_max > length ? rad_max : hlength); 
     25    return (rad_max > hlength ? rad_max : hlength); 
    2626} 
    2727 
Note: See TracChangeset for help on using the changeset viewer.