1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

fixed CvSVM

This commit is contained in:
Maria Dimashova
2010-05-30 11:03:42 +00:00
parent 6ebdcb879b
commit a8bc74f2e1
+2 -1
View File
@@ -317,7 +317,8 @@ void CvSVMKernel::calc_rbf( int vcount, int var_count, const float** vecs,
results[j] = (Qfloat)(s*gamma);
}
cvExp( &R, &R );
if( vcount > 0 )
cvExp( &R, &R );
}