Ticket #7380 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

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:


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.


Change History

comment:1 Changed 3 years ago by jewillco

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

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


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.