Opened 11 years ago
Closed 11 years ago
#5730 closed Bugs (fixed)
strategy selection error in the distance function
Reported by: | Owned by: | Barend Gehrels | |
---|---|---|---|
Milestone: | Boost 1.48.0 | Component: | geometry |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | geometry distance strategy | Cc: |
Description
file : \boost\geometry\algorithms\distance.hpp
line : 134
before (bug ?) : return_type const ds = ps_strategy.apply(point, *prev, *it);
after (patched) : return_type const ds = eps_strategy.apply(point, *prev, *it);
from the line 125, 128 and 139 eps_strategy seems the more appropriate.
Change History (3)
comment:1 by , 11 years ago
Milestone: | To Be Determined → Boost 1.48.0 |
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was indeed a problem. Actually it was more severe than I first thought. A patch was supplied recently and is applied now. The additional issue was that after that patch the unit test did not run anymore, and that is fixed as well. Sorry that this was delayed.
Note:
See TracTickets
for help on using tickets.
There is indeed something wrong here. But it is not as simple as changing this line only. Will look at it soon.