diff options
author | Ankur Dave <ankurdave@gmail.com> | 2014-01-09 13:29:20 -0800 |
---|---|---|
committer | Ankur Dave <ankurdave@gmail.com> | 2014-01-09 13:29:20 -0800 |
commit | ec12c63409c2db85c27a87813a8d0505ea8f6c21 (patch) | |
tree | 81f0827612c07a85132082f9c3fda145191809ea | |
parent | 3b2e22e2c343ce4615f31c3d94f9af568ea0ea42 (diff) | |
download | spark-ec12c63409c2db85c27a87813a8d0505ea8f6c21.tar.gz spark-ec12c63409c2db85c27a87813a8d0505ea8f6c21.tar.bz2 spark-ec12c63409c2db85c27a87813a8d0505ea8f6c21.zip |
Unwrap Graph.mapEdges signature
-rw-r--r-- | graph/src/main/scala/org/apache/spark/graph/Graph.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/graph/src/main/scala/org/apache/spark/graph/Graph.scala b/graph/src/main/scala/org/apache/spark/graph/Graph.scala index 9dd26f7679..420d01b426 100644 --- a/graph/src/main/scala/org/apache/spark/graph/Graph.scala +++ b/graph/src/main/scala/org/apache/spark/graph/Graph.scala @@ -169,9 +169,7 @@ abstract class Graph[VD: ClassTag, ED: ClassTag] { * @tparam ED2 the new edge data type * */ - def mapEdges[ED2: ClassTag]( - map: (Pid, Iterator[Edge[ED]]) => Iterator[ED2]): - Graph[VD, ED2] + def mapEdges[ED2: ClassTag](map: (Pid, Iterator[Edge[ED]]) => Iterator[ED2]): Graph[VD, ED2] /** * Construct a new graph where the value of each edge is |