提交 a8bc74f2 编写于 作者: M Maria Dimashova

fixed CvSVM

上级 6ebdcb87
......@@ -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 );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册