Skip to content

Commit 1670050

Browse files
bug in sparse aeitr
1 parent 858c33f commit 1670050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/001 undirected/online/data/sparse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ var sparse_graph_t = function(){
164164

165165
while(e !== this.eend){
166166

167-
if(fn.call(this, e[4], e[0], e[1], e[2])) return e[4];
167+
if(fn.call(this, e, e[0], e[1], e[2])) return e[4];
168168

169169
e = e[4];
170170
}

0 commit comments

Comments
 (0)