Changeset f9f4b65 in sasview for DataLoader
- Timestamp:
- Feb 8, 2011 3:32:40 PM (14 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:
- e369627
- Parents:
- 93fe7e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/extensions/smearer.cpp
r45ffa5e rf9f4b65 167 167 double q, q_min, q_max, q_0; 168 168 get_bin_range(i, &q, &q_min, &q_max); 169 169 // Block q becomes <=0 170 if (q <= 0){ 171 continue; 172 } 170 173 bool last_qpoint = true; 171 174 // Find q[0] value to normalize the weight later, … … 180 183 // Calculate bin size of q_j 181 184 get_bin_range(j, &q_j, &q_low, &q_high); 182 185 // Block q_j becomes <=0 186 if (q_j <= 0){ 187 continue; 188 } 183 189 // Check q_low that can not be negative. 184 190 if (q_low < 0.0){
Note: See TracChangeset
for help on using the changeset viewer.