Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7771 closed Bugs (fixed)

[Graph] missing default argument in doc

Reported by: Akira Takahashi <faithandbrave@…> Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

in small_world_iterator document's constructor: http://www.boost.org/doc/libs/1_52_0/libs/graph/doc/small_world_generator.html

small_world_iterator(RandomGenerator& gen, vertices_size_type n,
                       vertices_size_type k, double probability,
                       bool allow_self_loops = false);

probability has default argument. small_world_generator.hpp code is here:

small_world_iterator(RandomGenerator& gen, vertices_size_type n,
                         vertices_size_type k, double prob = 0.0,
                         bool allow_self_loops = false)

Change History (2)

comment:1 by Jeremiah Willcock, 10 years ago

Resolution: fixed
Status: newclosed

(In [81747]) Added info on default argument; fixes #7771

comment:2 by Akira Takahashi <faithandbrave@…>, 10 years ago

Thanks for fix!

Note: See TracTickets for help on using tickets.