1 | initial version |
Berak answered this question by pointing out that I got the indices on my matrix wrong. The loop should read as follows, and then behaves as expected.
for (unsigned int idx = 0; idx < matrix.rows; idx++)
{
std::cout << idx << ": " << matrix.at<ValueType>(idx, 0) << std::endl;
}
Thank you, Berak, for catching my silly mistake.