Modify

Ticket #5730 (closed Bugs: fixed)

Opened 3 years ago

Last modified 2 years ago

strategy selection error in the distance function

Reported by: Christian Marty <christian.marty@…> Owned by: barendgehrels
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.

Attachments

Change History

comment:1 Changed 3 years ago by barendgehrels

  • Milestone changed from To Be Determined to Boost 1.48.0

There is indeed something wrong here. But it is not as simple as changing this line only. Will look at it soon.

comment:2 Changed 3 years ago by mloskot

Is this new report related #5954 ?

comment:3 Changed 2 years ago by barendgehrels

  • Status changed from new to closed
  • Resolution set to fixed

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.