fixed CvSVM
This commit is contained in:
parent
6ebdcb879b
commit
a8bc74f2e1
@ -317,7 +317,8 @@ void CvSVMKernel::calc_rbf( int vcount, int var_count, const float** vecs,
|
|||||||
results[j] = (Qfloat)(s*gamma);
|
results[j] = (Qfloat)(s*gamma);
|
||||||
}
|
}
|
||||||
|
|
||||||
cvExp( &R, &R );
|
if( vcount > 0 )
|
||||||
|
cvExp( &R, &R );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user