Results 1 comments of Fred Lee

you are right. there appears to be a typo in the code snippet you provided. The first argument in the second call to closest_pair_of_points_sqr should be `points_sorted_on_x` rather than `points_sorted_on_y`....