Problem in Vec assignment in Matx::col (Feature #1326)
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 |
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