Merge pull request #165 from Phyks/issue_159

Fix a logical error in bounding circle computation. Fix #159.
This commit is contained in:
abrensch 2019-06-24 13:12:19 +02:00 committed by GitHub
commit cfef81322d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ public class OsmNogoPolygon extends OsmNodeNamed
{ {
cxmin = p.x; cxmin = p.x;
} }
else if (p.x > cxmax) if (p.x > cxmax)
{ {
cxmax = p.x; cxmax = p.x;
} }
@ -82,7 +82,7 @@ public class OsmNogoPolygon extends OsmNodeNamed
{ {
cymin = p.y; cymin = p.y;
} }
else if (p.y > cymax) if (p.y > cymax)
{ {
cymax = p.y; cymax = p.y;
} }