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/classifier/InputRanker.cc

    r536 r560  
    1313#include <vector>
    1414
     15#include <cmath>
    1516
    1617namespace theplu {
     
    5960    for (size_t i=0; i<nof_genes; i++) {
    6061      double area = score_object.score(target, DataLookup1D(data,i,true),
    61                                        DataLookup1D(weight,i,true));
     62                                       DataLookup1D(weight,i,true));     
     63      assert(!std::isnan(area));
    6264      std::pair<double, size_t> tmp(area,i);
    6365      score.push_back(tmp);
Note: See TracChangeset for help on using the changeset viewer.