Changeset 9409:7d3dab3e062b in orange


Ignore:
Timestamp:
12/21/11 22:23:50 (2 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
b9f681ad7be5235edc345ddad65a18be02d7bb07
Message:

Fixed a warning in Visual Studio 10.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/liblinear_interface.cpp

    r8978 r9409  
    353353    domain = examples->domain; 
    354354    indexMap = _indexMap; 
    355     computesProbabilities = check_probability_model(linmodel); 
     355    computesProbabilities = check_probability_model(linmodel) != 0; 
    356356    int nr_classifier = (linmodel->nr_class==2 && linmodel->param.solver_type != MCSVM_CS)? 1 : linmodel->nr_class; 
    357357    weights = mlnew TFloatListList(nr_classifier); 
Note: See TracChangeset for help on using the changeset viewer.