summaryrefslogtreecommitdiff
path: root/src/kdtree.c
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-12-27 02:34:45 +0000
committerdavidovski <david@davidovski.xyz>2023-12-27 02:34:45 +0000
commit5651b14b3084d18061516c65fa58b47134b926fe (patch)
treee8e299cb976a9ff340790fa7e1e7401bdc1a3451 /src/kdtree.c
parent661f470cc8197f643a2ab36c35fb0630f31023aa (diff)
remove include
Diffstat (limited to 'src/kdtree.c')
-rw-r--r--src/kdtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdtree.c b/src/kdtree.c
index 551bc5c..cfa5866 100644
--- a/src/kdtree.c
+++ b/src/kdtree.c
@@ -17,7 +17,7 @@ kdtree_t * kdtree_create(int x, int y, char * value) {
kdtree_t * kdtree_insert_rec(kdtree_t **root, int x, int y, char * value, int depth) {
if ((*root) == NULL)
return *root = kdtree_create(x, y, value);
-
+
int e = x < (*root)->x;
if (depth % 2 == 1) e = y < (*root)->y;