First time here? Check out the FAQ!
answered Jan 24 '13
Hi! It's because operator() from pairs. Try this:
x.row(pairs.at<unsigned char>(j,0)) > x.row(pairs.at<unsigned char>(j,1))