Revert "Bug #19573096: LOADING CORRUPTED GEOMETRY DATA INTO A"

This reverts commit c7de768ec20f5167cff2c69a255d95ca2eded46a.
parent 48869fce
...@@ -68,10 +68,6 @@ static double mbr_join_square(const double *a, const double *b, int n_dim) ...@@ -68,10 +68,6 @@ static double mbr_join_square(const double *a, const double *b, int n_dim)
b += 2; b += 2;
}while (a != end); }while (a != end);
/* Check for infinity or NaN */
if (my_isinf(square) || isnan(square))
square = DBL_MAX;
return square; return square;
} }
...@@ -106,9 +102,6 @@ static void pick_seeds(SplitStruct *node, int n_entries, ...@@ -106,9 +102,6 @@ static void pick_seeds(SplitStruct *node, int n_entries,
double max_d = -DBL_MAX; double max_d = -DBL_MAX;
double d; double d;
*seed_a = node;
*seed_b = node + 1;
for (cur1 = node; cur1 < lim1; ++cur1) for (cur1 = node; cur1 < lim1; ++cur1)
{ {
for (cur2=cur1 + 1; cur2 < lim2; ++cur2) for (cur2=cur1 + 1; cur2 < lim2; ++cur2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment