Changeset b9765ad in sasview
- Timestamp:
- Nov 30, 2011 2:49:01 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:
- 36cbbe74
- Parents:
- 2138c061
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/libmultifunc/librefl.c
r2138c061 rb9765ad 180 180 double n_sub,nu, ind; 181 181 { 182 if (n_sub == 0.0) 183 n_sub = 1.0;184 185 double bin_size, func; 182 double bin_size, func; 183 if (n_sub == 0.0) 184 n_sub = 1.0; 185 186 186 bin_size = 1.0/n_sub; //size of each sub-layer 187 187 // rescale … … 195 195 double n_sub, nu, ind; 196 196 { 197 double bin_size,func; 197 198 if (nu == 0.0) 198 199 nu = 1e-14; … … 200 201 n_sub = 1.0; 201 202 202 double bin_size,func;203 203 bin_size = 1.0/n_sub; //size of each sub-layer 204 204 // rescale … … 212 212 double n_sub, nu, ind; 213 213 { 214 double bin_size, func; 214 215 if (nu == 0.0) 215 216 nu = 1e-14; … … 217 218 n_sub = 1.0; 218 219 219 double bin_size, func;220 220 bin_size = 1.0/n_sub; //size of each sub-layer 221 221 // rescale … … 229 229 double n_sub, nu, ind; 230 230 { 231 double bin_size, func; 231 232 if (nu == 0.0) 232 233 nu = 1e-14; … … 234 235 n_sub = 1.0; 235 236 236 double bin_size, func;237 237 bin_size = 1.0/n_sub; //size of each sub-layer 238 238 // rescale … … 250 250 double n_sub, nu, ind; 251 251 { 252 double bin_size, func; 252 253 if (nu == 0.0) 253 254 nu = 1e-14; … … 255 256 n_sub = 1.0; 256 257 257 double bin_size, func;258 258 bin_size = 1.0/n_sub; //size of each sub-layer 259 259 // rescale
Note: See TracChangeset
for help on using the changeset viewer.