提交 2bb520e2 编写于 作者: J Jose Luis Guardiola

Fixed #6562: Incorrect CV_64F management in ANN

上级 c3d1f94e
......@@ -333,7 +333,7 @@ public:
{
for( int i = 0; i < _src.rows; i++ )
{
const float* src = _src.ptr<float>(i);
const double* src = _src.ptr<double>(i);
double* dst = _dst.ptr<double>(i);
for( int j = 0; j < cols; j++ )
dst[j] = src[j]*w[j*2] + w[j*2+1];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册