Modify

Opened 5 years ago

Closed 5 years ago

#7380 closed Bugs (fixed)

astar_search_no_init has swapped parameters (in named parameter version)

Reported by: alex.goldberg@… Owned by: jewillco
Milestone: To Be Determined Component: graph
Version: Boost 1.51.0 Severity: Showstopper
Keywords: astar_search_no_init astar_search Cc:

Description

The named parameter interface of astar_search_no_init delegates to the full parameter version of astar_search_no_init (line 330 in astar_search.hpp).

The function call incorrectly reverses the color parameter and the index_map parameter. This unfortunately compiles and runs in many typical cases.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by jewillco

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

(In [80638]) Reversed incorrect order of arguments to non-named-parameter call; fixes #7380

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jewillco.
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.