Commit f96636a4 authored by Davis King's avatar Davis King

A minor change to avoid a compiler warning from gcc.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403997
parent 0cedd073
......@@ -196,7 +196,7 @@ namespace dlib
alpha = pointwise_multiply(alpha,y)/rho;
// count the number of support vectors
const long sv_count = sum(alpha != 0);
const long sv_count = (long)sum(alpha != 0);
scalar_vector_type sv_alpha;
sample_vector_type support_vectors;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment