Subject: CGAL users discussion list
List archive
- From: Marius Kintel <>
- To:
- Subject: [cgal-discuss] Bug in Polyhedron_incremental_builder_3::test_facet_indices()
- Date: Thu, 23 Jan 2014 00:12:44 -0500
Hi,
Polyhedron_incremental_builder_3::test_facet_indices() tries to detect if a
list of indices has the same index specified twice.
Due to a bug, this test doesn’t actually detect that in all cases:
e.g., sending the vector [6,6,5,6] will pass this test while it should
obviously fail.
The problem appears to be on line 752:
for ( std::size_t k = 0; k+1 < i; ++k) {
..where k is being iterated one step too short to detect this issue.
-Marius
- [cgal-discuss] Bug in Polyhedron_incremental_builder_3::test_facet_indices(), Marius Kintel, 01/23/2014
- Re: [cgal-discuss] Bug in Polyhedron_incremental_builder_3::test_facet_indices(), Sebastien Loriot (GeometryFactory), 01/23/2014
- Re: [cgal-discuss] Bug in Polyhedron_incremental_builder_3::test_facet_indices(), Marius Kintel, 01/23/2014
- Re: [cgal-discuss] Bug in Polyhedron_incremental_builder_3::test_facet_indices(), Sebastien Loriot (GeometryFactory), 01/24/2014
- Re: [cgal-discuss] Bug in Polyhedron_incremental_builder_3::test_facet_indices(), Marius Kintel, 01/23/2014
- Re: [cgal-discuss] Bug in Polyhedron_incremental_builder_3::test_facet_indices(), Sebastien Loriot (GeometryFactory), 01/23/2014
Archive powered by MHonArc 2.6.18.