Skip to content
Snippets Groups Projects
Commit 76ebdae7 authored by Ankur Dave's avatar Ankur Dave
Browse files

Fix bug in GraphLoader.edgeListFile that caused srcId > dstId

parent c6dbfd16
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ object GraphLoader extends Logging {
}
val srcId = lineArray(0).toLong
val dstId = lineArray(1).toLong
if (canonicalOrientation && dstId > srcId) {
if (canonicalOrientation && srcId > dstId) {
builder.add(dstId, srcId, 1)
} else {
builder.add(srcId, dstId, 1)
......
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