Changeset 1715


Ignore:
Timestamp:
Jan 13, 2009, 9:08:43 PM (12 years ago)
Author:
Peter
Message:

minor simplification of expression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/normalizer/qQuantileNormalizer.cc

    r1713 r1715  
    5454        av.add(sortedvec(r));
    5555      average_(i)=av.mean();
    56       index_(i)= static_cast<double>(end-start)/2 + start;
     56      index_(i)= static_cast<double>(end+start)/2;
    5757      start=end;
    5858    }
Note: See TracChangeset for help on using the changeset viewer.