Ignore:
Timestamp:
11/13/12 23:13:32 (12 years ago)
Author:
tbretz
Message:
Fixed a bug in GetPixelStats... the first value was added twice
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/DrsCalib.h

    r14405 r14619  
    518518            double sum  = vec[beg];
    519519            double sum2 = vec[beg]*vec[beg];
    520             for (int j=beg; j<roi; j++)
     520            for (int j=beg+1; j<roi; j++)
    521521            {
    522522                sum  += vec[j];
Note: See TracChangeset for help on using the changeset viewer.