Problem in Vec assignment in Matx::col (Feature #1326)


Added by Amael Delaunoy over 13 years ago. Updated over 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:build/install
Target version:-
Difficulty: Pull request:

Description

in modules/core/include/opencv2/core/operations.hpp,
there is a problem in vector assignment in line 417, here is a patch:

@ -414,7 +414,7 @
CV_DbgAssert((unsigned)j < (unsigned)n);
Matx<_Tp, m, 1> v;
for( int i = 0; i < m; i++ )
- v[i] = val[i*n + j];
+ v.val[i] = val[i*n + j];
return v;
}


Related issues

duplicated by Bug #1375: Matx::col does not compiles Cancelled

Associated revisions

Revision eb9401d3
Added by Vadim Pisarevsky over 13 years ago

applied patch #1326

Revision b43890a7
Added by Roman Donchenko over 11 years ago

Merge pull request #1326 from ilya-lavrenov:perf_ocl

History

Updated by Vadim Pisarevsky over 13 years ago

thanks! your patch is applied in r6556

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF