Browse Source

Revise the documentation for dijkstra (#1298) (#1304)

Zhongshi 6 years ago
parent
commit
c9c2d3db79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/dijkstra.h

+ 1 - 1
include/igl/dijkstra.h

@@ -67,7 +67,7 @@ namespace igl {
   //   previous         #V by 1 list of the previous visited vertices (for each vertex) - result of Dijkstra's algorithm
   //   previous         #V by 1 list of the previous visited vertices (for each vertex) - result of Dijkstra's algorithm
   //
   //
   // Output:
   // Output:
-  //   path             #P by 1 list of vertex indices in the shortest path from source to vertex
+  //   path             #P by 1 list of vertex indices in the shortest path from vertex to source
   //
   //
   template <typename IndexType, typename DerivedP>
   template <typename IndexType, typename DerivedP>
   IGL_INLINE void dijkstra(
   IGL_INLINE void dijkstra(