mirror of https://github.com/CGAL/cgal
Apply suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
This commit is contained in:
parent
0183aac332
commit
bd6408a772
|
|
@ -13,9 +13,9 @@
|
|||
// $Id$
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
// NOTE: this file have been taken from boost 1.77 for using
|
||||
// with Modificable_priority_queue
|
||||
// original file is <boost/pending/relaxed_heap.hpp>
|
||||
// NOTE: this file has been taken from boost 1.77 to use
|
||||
// with Modificable_priority_queue.
|
||||
// The original file is <boost/pending/relaxed_heap.hpp>
|
||||
//
|
||||
|
||||
#ifndef BOOST_RELAXED_HEAP_HEADER
|
||||
|
|
|
|||
|
|
@ -93,8 +93,8 @@ the number of edges effectively removed.
|
|||
\cgalParamType{Either `CGAL::Tag_true` or `CGAL::Tag_false`}
|
||||
\cgalParamDefault{`CGAL::Tag_false()`}
|
||||
\cgalParamExtra{Using a relaxed order will allow the algorithm to use a faster priority queue.
|
||||
However, if for example a user expects that all elements shorter than a given value to be collapsed,
|
||||
a relaxed order shall not be used.}
|
||||
However, the ordering of the priority queue is no longer strict and there is a possibility
|
||||
that some elements that ought to have been collapsed are not actually collapsed.}
|
||||
\cgalParamNEnd
|
||||
\cgalNamedParamsEnd
|
||||
|
||||
|
|
|
|||
|
|
@ -313,7 +313,6 @@ private:
|
|||
CGAL_expensive_assertion(mPQ->contains(h));
|
||||
|
||||
mPQ->update(h);
|
||||
data.set_is_in_PQ();
|
||||
|
||||
CGAL_assertion(data.is_in_PQ());
|
||||
CGAL_expensive_assertion(mPQ->contains(h));
|
||||
|
|
|
|||
Loading…
Reference in New Issue