Unary - operator bug for single column matrix (Bug #2447)
Description
This bug is related to my previously canceled ticket ( #2443 )
Following code correctly writes out the first matrix,
and fails on the second one.
#include <iostream> #include <opencv2/core/core.hpp> int main(int argc,char **argv) { cv::Mat1f tt2=cv::Mat1f::ones(1,4); std::cout<< -tt2; std::cout.flush(); tt2=cv::Mat1f::ones(4,1); std::cout<< -tt2; return 0; }
Issue hierarchy
Associated revisions
fix bug #2447 - unary operator bug for single column matrix
History
Updated by Daniil Osokin over 12 years ago
Yes, I can reproduce this on current master. But on release 2.4.2 version it works.
Thanks for reporting, we will check it.
Updated by Vadim Pisarevsky over 12 years ago
- Target version changed from 3.0 to 2.4.3
- Status changed from Open to Done