Warn about a bug of prim_minimum_spanning_tree() in Boost.Graph 1.54

That bug causes mst_orient_normals() to fail with Boost 1.54. Hopefully,
the bug is fixed in Boost 1.55 beta.
This commit is contained in:
Laurent Rineau 2013-10-10 16:17:11 +02:00
parent e1a8bbf7af
commit 6708200dfd
1 changed files with 2 additions and 0 deletions

View File

@ -540,6 +540,8 @@ create_mst_graph(
/// This method modifies the order of input points so as to pack all sucessfully oriented points first,
/// and returns an iterator over the first point with an unoriented normal (see erase-remove idiom).
/// For this reason it should not be called on sorted containers.
/// \warning This function may fail when Boost version 1.54 is used,
/// because of the following bug: https://svn.boost.org/trac/boost/ticket/9012
///
/// \pre Normals must be unit vectors
/// \pre `k >= 2`