uncomment code in points.c

This commit is contained in:
Chris Cromer 2018-12-12 11:54:12 -03:00
parent c200d74897
commit 2e3d2b43ee
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

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);