Browse Source

v.net.path: Vect_net update for https://trac.osgeo.org/grass/changeset/59562

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59565 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek 11 years ago
parent
commit
5ffd385b04
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vector/v.net.path/path.c

+ 1 - 1
vector/v.net.path/path.c

@@ -257,7 +257,7 @@ int path(struct Map_info *In, struct Map_info *Out, char *filename,
 	    ret =
 	    ret =
 		Vect_net_shortest_path_coor(In, fx, fy, 0.0, tx, ty, 0.0,
 		Vect_net_shortest_path_coor(In, fx, fy, 0.0, tx, ty, 0.0,
 					    maxdist, maxdist, &cost, OPoints,
 					    maxdist, maxdist, &cost, OPoints,
-					    AList, FPoints, TPoints, &fdist,
+					    AList, NULL, FPoints, TPoints, &fdist,
 					    &tdist);
 					    &tdist);
 
 
 	    if (ret == 0) {
 	    if (ret == 0) {