From 3b2849b6767ab03b4694e163faef3e5e77fd99c1 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Tue, 24 Dec 2019 14:46:00 -0500 Subject: removed commented code --- examples/search.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'examples') diff --git a/examples/search.js b/examples/search.js index a1dcc7c..0eebe3b 100644 --- a/examples/search.js +++ b/examples/search.js @@ -59,12 +59,6 @@ function Search(searchBlock){ // searchBlock should be a Space object. curind += sgn; } }); - /*let thisaddr = this.sort[ind][inds[ind]]; - for (let i = -1; i <= 1; i+=2) for (let j = 1; this.sort[ind][inds[ind]+i*j] && this.sort[ind][inds[ind]][ind] == this.sort[ind][inds[ind]+i*j][ind]; j++){ - let otheraddr = this.sort[ind][inds[ind]+i*j]; - if (! exclude.has(this.sort[ind][inds[ind]]) && this.sort[ind][inds[ind]][1-ind] == this.sort[inds[ind]+i*j][1-ind]){ // Make more readable - adjacent.add(...this.block(this.sort[ind][inds[ind]+i*j], inds[ind+i*j], exclude=adjacent)); // Already includes itself - }}*/ }); return adjacent; } -- cgit