Ignore:
Timestamp:
Mar 6, 2008, 5:00:44 PM (14 years ago)
Author:
Peter
Message:

refs #223 change fabs to std::abs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/feature_selection_test.cc

    r1134 r1210  
    9999
    100100  classifier::DataLookupWeighted1D row(dataviewweighted,best_feature,true);
    101   double score_diff=fabs(snr.score(targets,row)-1.47804);
     101  double score_diff=std::abs(snr.score(targets,row)-1.47804);
    102102  if(score_diff>0.00001) {
    103103    *error << "\nERROR: Best score not what expected!\n" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.