Skip to content
Snippets Groups Projects
Commit dbc8c986 authored by Joseph E. Gonzalez's avatar Joseph E. Gonzalez
Browse files

Fixing bug in VertexSetRDD that breaks Graph tests.

parent 9cf43cfe
No related branches found
No related tags found
No related merge requests found
...@@ -219,7 +219,7 @@ class VertexSetRDD[V: ClassManifest]( ...@@ -219,7 +219,7 @@ class VertexSetRDD[V: ClassManifest](
if (other.partitioner == Some(partitioner)) other if (other.partitioner == Some(partitioner)) other
else other.partitionBy(partitioner) else other.partitionBy(partitioner)
val newValues: RDD[ (IndexedSeq[(V,Option[W])], BitSet) ] = val newValues: RDD[ (IndexedSeq[(V,Option[W])], BitSet) ] =
index.rdd.zipPartitions(valuesRDD, other) { index.rdd.zipPartitions(valuesRDD, otherShuffled) {
(thisIndexIter, thisIter, tuplesIter) => (thisIndexIter, thisIter, tuplesIter) =>
val index = thisIndexIter.next() val index = thisIndexIter.next()
assert(!thisIndexIter.hasNext) assert(!thisIndexIter.hasNext)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment