Changeset 3eac3816 in sasview for sansmodels/src/sans/models
- Timestamp:
- Nov 30, 2011 2:58:29 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 1a31715
- Parents:
- 2c041e9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_models/gamma_win.c
r2c041e9 r3eac3816 75 75 y += 1.0; 76 76 } else { 77 n = static_cast<int>(floor(y)) - 1; // will use n later77 n = (int) (floor(y)) - 1; // will use n later 78 78 y -= n; 79 79 } … … 99 99 100 100 return result; 101 }102 103 ///////////////////////////////////////////////////////////////////////////104 // Third interval: [12, infinity)105 106 if (x > 171.624)107 {108 // Correct answer too large to display. Force +infinity.109 temp = DBL_MAX;110 return temp*2.0;111 101 } 112 102
Note: See TracChangeset
for help on using the changeset viewer.