Repository: spark Updated Branches: refs/heads/branch-1.4 72ab06e8a -> 149c4a06d
Fixed error in scaladoc of convertToCanonicalEdges The code convertToCanonicalEdges is such that srcIds are smaller than dstIds but the scaladoc suggested otherwise. Have fixed the same. Author: Gaurav Kumar <gauravkuma...@gmail.com> Closes #9666 from gauravkumar37/patch-1. (cherry picked from commit df0e318152165c8e50793aff13aaca5d2d9b8b9d) Signed-off-by: Reynold Xin <r...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/149c4a06 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/149c4a06 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/149c4a06 Branch: refs/heads/branch-1.4 Commit: 149c4a06da02a9fa060f9385dccffef34c2472d4 Parents: 72ab06e Author: Gaurav Kumar <gauravkuma...@gmail.com> Authored: Thu Nov 12 12:14:00 2015 -0800 Committer: Reynold Xin <r...@databricks.com> Committed: Thu Nov 12 12:14:26 2015 -0800 ---------------------------------------------------------------------- graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/149c4a06/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala ---------------------------------------------------------------------- diff --git a/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala b/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala index 9451ff1..9827dfa 100644 --- a/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala +++ b/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala @@ -282,7 +282,7 @@ class GraphOps[VD: ClassTag, ED: ClassTag](graph: Graph[VD, ED]) extends Seriali * Convert bi-directional edges into uni-directional ones. * Some graph algorithms (e.g., TriangleCount) assume that an input graph * has its edges in canonical direction. - * This function rewrites the vertex ids of edges so that srcIds are bigger + * This function rewrites the vertex ids of edges so that srcIds are smaller * than dstIds, and merges the duplicated edges. * * @param mergeFunc the user defined reduce function which should --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org