mirror of
https://github.com/opencv/opencv.git
synced 2025-08-02 20:06:34 +08:00
Merge pull request #6565 from jlguardi:ann_64f_bug
This commit is contained in:
commit
5c54360fb9
@ -333,7 +333,7 @@ public:
|
|||||||
{
|
{
|
||||||
for( int i = 0; i < _src.rows; i++ )
|
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);
|
double* dst = _dst.ptr<double>(i);
|
||||||
for( int j = 0; j < cols; j++ )
|
for( int j = 0; j < cols; j++ )
|
||||||
dst[j] = src[j]*w[j*2] + w[j*2+1];
|
dst[j] = src[j]*w[j*2] + w[j*2+1];
|
||||||
|
Loading…
Reference in New Issue
Block a user