Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Combinatorial map assertion error: is_whole_orbit_unmarked()

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Combinatorial map assertion error: is_whole_orbit_unmarked()


Chronological Thread 
  • From: Guillaume Damiand <>
  • To:
  • Subject: Re: [cgal-discuss] Combinatorial map assertion error: is_whole_orbit_unmarked()
  • Date: Thu, 21 May 2015 12:23:35 +0200

Hi,

Le 21/05/2015 11:56, Pranav a écrit :
Hi,

I now find that passing /lcc/ to function /
<https://gist.github.com/pranavkantgaur/9703458b46e01615f8fc#file-testassertionwithoutlccinfo-cpp-L54>
isInfinite()/ by value is resulting in this assertion error, whereas
passing it by reference works fine.

There is perhaps a problem during the copy of the LCC regarding the mark. I will have a look of this problem...

However it is a very bad idea to pass lcc by value because it leads to a full copy/destruction for each call...


So, although the problem is solved, I am not clear why I need to pass /lcc/
by reference to /isInfinite()/ where I am not modifying /lcc/ at all?

const LCC & lcc

Guillaume




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Combinatorial-map-assertion-error-is-whole-orbit-unmarked-tp4660851p4660853.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