projects
/
mtp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f691873
)
Typo.
author
Francois Fleuret
<francois@fleuret.org>
Wed, 2 Jan 2013 10:10:16 +0000
(11:10 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Wed, 2 Jan 2013 10:10:16 +0000
(11:10 +0100)
mtp_graph.cc
patch
|
blob
|
history
diff --git
a/mtp_graph.cc
b/mtp_graph.cc
index
4cfd1f8
..
6fb3877
100644
(file)
--- a/
mtp_graph.cc
+++ b/
mtp_graph.cc
@@
-289,7
+289,7
@@
void MTPGraph::find_shortest_path() {
_source->distance_from_source = 0;
_source->decrease_distance_in_heap(_heap);
-
while(heap_size > 1) {
+ while(heap_size > 1) {
// Get the closest to the source
v = _heap[0];