Changeset 3665:6ea150892d6a in orange


Ignore:
Timestamp:
05/18/07 01:07:21 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
e06a4beb1440905e09f486d2ba1946185abbc674
Message:
  • a minor fix to avoid warning in MS VC
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/lib_learner.cpp

    r3662 r3665  
    11401140        raiseError("Error building LibSVM model"); 
    11411141    model->param.learner=NULL; 
    1142     PSVMClassifier svm=mlnew TSVMClassifier(var, examples, model, NULL, sparse); 
     1142    PSVMClassifier svm=mlnew TSVMClassifier(var, examples, model, NULL, sparse != 0); 
    11431143    svm->kernelFunc=kernel; 
    11441144    svm->supportVectors=supportVectors; 
Note: See TracChangeset for help on using the changeset viewer.