Changeset c138211 in sasmodels for sasmodels/models/barbell.c
- Timestamp:
- Dec 21, 2015 11:32:08 AM (8 years ago)
- 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:
- 4c2c535
- Parents:
- 5258859
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/barbell.c
r0706431 rc138211 51 51 double sn, cn; // slots to hold sincos function output 52 52 53 if (bell_radius < radius) return -1.0;53 if (bell_radius < radius) return NAN; 54 54 55 55 const double lower = 0.0; … … 95 95 96 96 // Exclude invalid inputs. 97 if (bell_radius < radius) return -1.0;97 if (bell_radius < radius) return NAN; 98 98 99 99 // Compute angle alpha between q and the cylinder axis
Note: See TracChangeset
for help on using the changeset viewer.