Changeset ef7606b in sasview for sansmodels/src/sans/models


Ignore:
Timestamp:
Dec 12, 2011 9:30:38 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
74c9a30
Parents:
0e8fca0
Message:

fixed broken q_0 in slit smearing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_smearer/smearer.cpp

    r2e2452b ref7606b  
    166166 
    167167        // Loop over all q-values 
     168        double q, q_min, q_max, q_0=0.0; 
    168169        for(int i=0; i<nbins; i++) { 
    169170                // Find Weights 
    170171                // Find q where the resolution smearing calculation of I(q) occurs 
    171                 double q, q_min, q_max, q_0=0.0; 
    172172                get_bin_range(i, &q, &q_min, &q_max); 
    173173                // Block q becomes <=0 
Note: See TracChangeset for help on using the changeset viewer.