Fix for bug #14320 (MBROverlaps does wrong test)

This commit is contained in:
holyfoot@deer.(none) 2005-12-10 18:20:00 +04:00
parent dd7d2d0a11
commit 1fcecea7a3

View File

@ -142,7 +142,7 @@ struct MBR
bool inner_point(double x, double y) const
{
/* The following should be safe, even if we compare doubles */
return (xmin<x) && (xmax>x) && (ymin<y) && (ymax>x);
return (xmin<x) && (xmax>x) && (ymin<y) && (ymax>y);
}
int overlaps(const MBR *mbr)