Skip to content

Commit 0dbc186

Browse files
stopa85milkalexbruy
authored andcommittedJun 10, 2011
fix RoadGraph plugin "path not found" error when start and stop points are equal

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/plugins/roadgraph/utils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ AdjacencyMatrix DijkstraFinder::find( const QgsPoint& frontPoint, const QgsPoint
150150
}
151151

152152
AdjacencyMatrix m;
153+
m[ frontPoint ];
153154
QgsPoint nextPoint = backPoint;
154155
QgsPoint firstPoint = backPoint;
155156
while ( true )

0 commit comments

Comments
 (0)
Please sign in to comment.