diff options
author | John Langford <jl@hunch.net> | 2014-12-07 02:51:26 +0300 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2014-12-07 02:51:26 +0300 |
commit | 9e02175bbaa98e130b56610efe783806cc11acdf (patch) | |
tree | 5af02a5443c458fbdb26945e87ea9593bcd183a1 /vowpalwabbit | |
parent | 354d3649e34895c1e438860d609f4f2ff071dd28 (diff) |
remove linux warning
Diffstat (limited to 'vowpalwabbit')
-rw-r--r-- | vowpalwabbit/kernel_svm.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vowpalwabbit/kernel_svm.cc b/vowpalwabbit/kernel_svm.cc index a6e99ae1..0691d63e 100644 --- a/vowpalwabbit/kernel_svm.cc +++ b/vowpalwabbit/kernel_svm.cc @@ -698,7 +698,7 @@ namespace KSVM if(randi) { size_t max_pos = suboptimality(model, subopt); if(subopt[max_pos] > 0) { - if(!overshoot && max_pos == model_pos && max_pos > 0 && j == 0) + if(!overshoot && max_pos == (size_t)model_pos && max_pos > 0 && j == 0) cerr<<"Shouldn't reprocess right after process!!!\n"; //cerr<<max_pos<<" "<<subopt[max_pos]<<endl; // cerr<<params.model->support_vec[0]->example_counter<<endl; @@ -912,6 +912,4 @@ namespace KSVM l->set_finish<svm_params, finish>(); return l; } - - } |