Commit c47b0ea2 authored by Alexander Alekhin's avatar Alexander Alekhin Committed by GitHub

Merge pull request #828 from alalek:fix_optflow

optflow: fix test failure

MSVS2013:
- DenseOpticalFlow_GlobalPatchColliderDCT.ReferenceAccuracy
- DenseOpticalFlow_GlobalPatchColliderWHT.ReferenceAccuracy
parent efc56001
......@@ -466,8 +466,8 @@ double GPCPatchDescriptor::dot( const Vec< double, nFeatures > &coef ) const
v_float64x2 sum = v_setzero_f64();
for ( unsigned i = 0; i < nFeatures; i += 2 )
{
v_float64x2 x = v_load_aligned( &feature.val[i] );
v_float64x2 y = v_load_aligned( &coef.val[i] );
v_float64x2 x = v_load( &feature.val[i] );
v_float64x2 y = v_load( &coef.val[i] );
sum = v_muladd( x, y, sum );
}
#if CV_SSE2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment