Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Combinatorial maps: assertion error: this->mmap->is_marked

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Combinatorial maps: assertion error: this->mmap->is_marked


Chronological Thread 
  • From: Guillaume Damiand <>
  • To:
  • Subject: Re: [cgal-discuss] Combinatorial maps: assertion error: this->mmap->is_marked
  • Date: Sun, 09 Aug 2015 20:20:47 +0200

Hi,

I think the problem could be that you remove twice a same 2-cell.

Indeed, in the first loop (line 1743) you push one dart per 2-cell to test; but in the second loop (line 1758) you iterate through all the faces of each volume having one dart in the vector.

Thus probably in the second loop you reach to a face which has one of its dart later in the vector.


This is only a supposition after a quick look at your code. You need to try to debug your code, by adding assertion and by developing some functions allowing to add debug test.

For example you can develop a function which tests, just before that you remove a 2-cell, that all the other darts in the vector do not belong to the same 2-cell than the one removed. This function will help to solve your problem.

Good luck

Guillaume


Le 05/08/2015 11:35, Pranav a écrit :
Hi,

Do I need to add more information to this question? Unfortunately, as of
now, I am unable to make a minimal code for demonstrating this problem.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Combinatorial-maps-assertion-error-this-mmap-is-marked-tp4661029p4661047.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



--
===================================================================
Guillaume DAMIAND

CNRS - LIRIS UMR 5205
Université Claude Bernard
Bâtiment Nautibus (710)
43 Boulevard du 11 Novembre 1918
69622 Villeurbanne Cedex (France)
-------------------------------------------------------------------
Tél: +33 (0)4.72.43.14.34 Fax: +33 (0)4.72.43.15.36
Mail:

Web: http://liris.cnrs.fr/guillaume.damiand/
===================================================================


Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.18.

Top of Page