Changeset fbaef04 in sasmodels
- Timestamp:
- Sep 8, 2018 8:07:53 AM (6 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/elliptical_cylinder.c
ra94046f rfbaef04 16 16 { 17 17 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); 19 19 } 20 20 … … 23 23 { 24 24 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); 26 26 } 27 27
Note: See TracChangeset
for help on using the changeset viewer.