projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cosmetics.
[mtp.git]
/
tracker.cc
diff --git
a/tracker.cc
b/tracker.cc
index
8490d6f
..
e6d5d0e
100644
(file)
--- a/
tracker.cc
+++ b/
tracker.cc
@@
-55,6
+55,8
@@
void Tracker::set_detection_score(int time, int location, scalar_t score) {
}
void Tracker::build_graph() {
+
+ // Delete existing graph
delete[] _edge_lengths;
delete[] _graph;
delete[] _edge_occupation;
@@
-137,7
+139,6
@@
void Tracker::track() {
}
_graph->find_best_paths(_edge_lengths, _edge_occupation);
-
_graph->print_dot();
}