First time here? Check out the FAQ!
answered 2018-03-30 11:49:31 -0600
Yes there is a problem.
try to change line
for (i = 0; i < n; i++) _sDone.at<int>(0,i) = -1;
in
for (i = 0; i < n; i++) _sDone.at<int>(i,0) = -1;
updated 2018-03-30 12:17:34 -0600
updated 2018-03-30 14:47:06 -0600
issue and PR