diff options
-rw-r--r-- | tools/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/search.js b/tools/search.js index 0eebe3b..97341b3 100644 --- a/tools/search.js +++ b/tools/search.js @@ -54,7 +54,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))], adjacent)); + adjacent.add(...this.block(sort[curind], [curind, bs(sort, sort[curind], getComp(1-ind))], exclude)); } curind += sgn; } |