Ignore:
Timestamp:
Mar 13, 2006, 3:36:54 PM (16 years ago)
Author:
Markus Ringnér
Message:

Minor fixes plus fixed bug in ConsensusInputRanker?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/statistics/SNR.cc

    r530 r560  
    5353    double diff = positive.mean() - negative.mean();
    5454    double denom=positive.std()+negative.std();
     55    assert(denom);
    5556    score_=diff/denom;
    5657    if(positive.sum_w()==0 || negative.sum_w()==0)
Note: See TracChangeset for help on using the changeset viewer.