Changeset fbaef04 in sasmodels


Ignore:
Timestamp:
Sep 8, 2018 8:07:53 AM (6 years ago)
Author:
richardh
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
c11d09f
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.