Opened 10 years ago

Closed 10 years ago

#7380 closed Bugs (fixed)

astar_search_no_init has swapped parameters (in named parameter version)

Reported by: alex.goldberg@… Owned by: Jeremiah Willcock
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.

Change History (1)

comment:1 by Jeremiah Willcock, 10 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.