Commit cfbead4e authored by Mark Winter's avatar Mark Winter

Fix for connected distance indexing in tracker.

parent df7e49c6
......@@ -104,8 +104,8 @@ void loadDists(const mxArray* ccDists)
for (int j = 0; j < m ; j++)
int nextHull = (int)(distPairs[j*2]);
double dist = distPairs[j*2+1];
int nextHull = MatToC((int)(distPairs[j]));
double dist = distPairs[j+m];
ccDistMap[i].insert(std::pair<int, double>(nextHull,dist));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment