aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/search.js6
1 files changed, 0 insertions, 6 deletions
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;
}