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: Jeremiah Willcock
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.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by Jeremiah Willcock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jeremiah Willcock.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.