From 1670050f5ee6ba4b45697af4056b61c119a38cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ooms=20Aur=C3=A9lien?= Date: Sat, 24 May 2014 19:56:19 +0200 Subject: [PATCH] bug in sparse aeitr --- js/src/001 undirected/online/data/sparse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/001 undirected/online/data/sparse.js b/js/src/001 undirected/online/data/sparse.js index 783ba19..3cf25f9 100644 --- a/js/src/001 undirected/online/data/sparse.js +++ b/js/src/001 undirected/online/data/sparse.js @@ -164,7 +164,7 @@ var sparse_graph_t = function(){ while(e !== this.eend){ - if(fn.call(this, e[4], e[0], e[1], e[2])) return e[4]; + if(fn.call(this, e, e[0], e[1], e[2])) return e[4]; e = e[4]; }