Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

weired compiler error warning "Can't compare structures"

This line of code in my Android Studio project JNI function gives error message

for(size_t i=0;i<lines.rows;i++){
     if (lines.at<Vec3d>(i)!=Vec3d(0,0,0))
        lines_temp.push_back(lines.at<Vec3d>(i));
}

lines is a N x 1 3 Channels 64bit double Mat. image description But the code complies and runs fine. How do I get this out of the way?