Browse Source

uncomment code in points.c

pull/3/head
Chris Cromer 2 years ago
parent
commit
2e3d2b43ee
Signed by: cromer GPG Key ID: 39CC813FF3C8708A
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/points.c

+ 3
- 3
src/points.c View File

@ -172,13 +172,13 @@ int main (int argc, char **argv) {
if (divide) {
start_algorithm("Divide and conquer corriendo... ", n);
//closest_points = divide_and_conquer(points, n, &dist);
closest_points = divide_and_conquer(points, n, &dist);
end_algorithm();
/*printf("point 1: x: %f y: %f\n", closest_points[0].x, closest_points[0].y);
printf("point 1: x: %f y: %f\n", closest_points[0].x, closest_points[0].y);
printf("point 2: x: %f y: %f\n", closest_points[1].x, closest_points[1].y);
printf("distance: %lf\n", dist);
free(closest_points);
closest_points = NULL;*/
closest_points = NULL;
}
free(points);


Loading…
Cancel
Save