From 22dbbd1e651743da8c533f2fb4a92ad681c46f67 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Fri, 27 Dec 2019 11:20:31 -0500 Subject: search.js indexed incorrect list --- tools/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/search.js b/tools/search.js index c0b9f46..4e2e88f 100644 --- a/tools/search.js +++ b/tools/search.js @@ -53,7 +53,7 @@ function Search(searchBlock){ // searchBlock should be a Space object. let curind = chkind + sgn; while (sort[curind] && sort[chkind][ind] == sort[curind][ind]){ if (! exclude.has(sort[curind])){ - adjacent.add(...this.block(sort[curind], [curind, bs(sort, sort[curind], getComp(1-ind))], exclude)); + adjacent.add(...this.block(sort[curind], [curind, bs(this.sort[1-ind], sort[curind], getComp(1-ind))], exclude)); } curind += sgn; } -- cgit