Changeset 8158:6f932158452d in orange


Ignore:
Timestamp:
08/08/11 14:36:58 (3 years ago)
Author:
lanz <lan.zagar@…>
Branch:
default
Convert:
6edf6e284d6154b9231f190ac06b6a321b2df9e0
Message:

Corrected bug in bestThreshold

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/measures.cpp

    r8005 r8158  
    245245      return ILLEGAL_FLOAT; 
    246246    } 
    247     float &score = res.front().second; 
     247    score = res.front().second; 
    248248    float &bestThresh = res.front().first; 
    249249    ITERATE(TFloatFloatList, ii, res) { 
     
    253253      } 
    254254    } 
    255     return score; 
     255    return bestThresh; 
    256256  } 
    257257   
Note: See TracChangeset for help on using the changeset viewer.