Changeset 3769:e894c2740243 in orange


Ignore:
Timestamp:
07/08/07 15:36:43 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
ad41bfaa1220eefbb8eaef27b2fe3fc704cb16d8
Message:
  • fixed a vs 2005 warning (conversion of char to bool)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/lib_learner.cpp

    r3745 r3769  
    11971197        raiseError("Error building LibSVM model"); 
    11981198    model->param.learner=NULL; 
    1199     PSVMClassifier svm=mlnew TSVMClassifierSparse(var, examples, model, NULL, useNonMeta); 
     1199    PSVMClassifier svm=mlnew TSVMClassifierSparse(var, examples, model, NULL, useNonMeta != 0); 
    12001200    svm->kernelFunc=kernel; 
    12011201    svm->supportVectors=supportVectors; 
Note: See TracChangeset for help on using the changeset viewer.