diff --git a/examples/test.c b/examples/test.c index 966ca7b..89e6195 100644 --- a/examples/test.c +++ b/examples/test.c @@ -10,7 +10,7 @@ unsigned int get_msec(void) { static struct timeval timeval, first_timeval; - + gettimeofday(&timeval, 0); if(first_timeval.tv_sec == 0) { @@ -26,7 +26,7 @@ int main(int argc, char **argv) int i, vcount = 10; void *kd, *set; unsigned int msec, start; - + if(argc > 1 && isdigit(argv[1][0])) { vcount = atoi(argv[1]); } diff --git a/examples/test2.c b/examples/test2.c index 657b6cb..f06859a 100644 --- a/examples/test2.c +++ b/examples/test2.c @@ -35,10 +35,10 @@ int main(int argc, char **argv) { } srand( time(0) ); - + /* create a k-d tree for 3-dimensional points */ ptree = kd_create( 3 ); - + /* add some random nodes to the tree (assert nodes are successfully inserted) */ for( i=0; i