Subject: CGAL users discussion list
List archive
- From: Thorben Kröger <>
- To:
- Subject: [cgal-discuss] Malfunctioning handle hash function
- Date: Tue, 10 Nov 2009 13:45:32 +0000
Hello,
I'm using a Polyhedron_3 datastructure and am putting Vertex_const_handles in
a hash structure like this:
typedef std::tr1::unordered_map<Vertex_const_handle, int,
CGAL::Handle_hash_function> Neighbours;
However, the CGAL::Handle_hash_function function does not seem to work, I get
random results that change between runs; while when I change that function to
return just a fixed integer, my program works as expected.
I got entangled in the CGAL template definitions, can someone help me to find
out what's wrong here? It looks like the hash function might compare the
address of temporaries or something...
Thanks,
Thorben
- [cgal-discuss] Malfunctioning handle hash function, Thorben Kröger, 11/10/2009
- Re: [cgal-discuss] Malfunctioning handle hash function, Thorben Kröger, 11/11/2009
- [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Gil, 11/12/2009
- Res: [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Marcos R. P., 11/12/2009
- Re: [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Yang Liu, 11/12/2009
- Re: [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Gil Gonçalves, 11/12/2009
- Re: [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Gil Gonçalves, 11/12/2009
- Re: [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Gil Gonçalves, 11/13/2009
- Re: [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Yang Liu, 11/13/2009
- Re: [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Gil Gonçalves, 11/13/2009
- [cgal-discuss] Include file ui_Delaunay_triangulation_2.h, Gil, 11/12/2009
- Re: [cgal-discuss] Malfunctioning handle hash function, Thorben Kröger, 11/11/2009
Archive powered by MHonArc 2.6.16.