Boost logo

Geometry :

Subject: [ggl] bug in boost/geometry/algorithms/equals.hpp
From: Barend Gehrels (barend)
Date: 2011-05-18 23:28:09


Hi Denis,

> Have found some mistyping in trunk, /boost/geometry/algorithms/equals.hpp:
>
> (...)
>
> Lines 91, 103 -- there should be a "geometry2" variable.
>

Thanks for this!

Yes, it certainly should. It was for performance only, so even if area
was different, by by-passing this check always the long check was done.
Now it is corrected and if area is different it returns false immediately.

Fixed in Trunk.

Regards, Barend

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20110518/c9ab62d0/attachment.html


Geometry list run by mateusz at loskot.net