aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-24 14:46:00 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-27 14:52:44 -0500
commit3b2849b6767ab03b4694e163faef3e5e77fd99c1 (patch)
tree7004768f2924845db0a38bf0ad72a50641e9778c /examples
parentd854a9b4f4ce28f166cb01f1ca230c77d103ed23 (diff)
removed commented code
Diffstat (limited to 'examples')
-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;
}