Commit d9bcc66f authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix bug in graph_draw() with sparsehash enabled

This fixes issue #285
parent d0fb50fc
Pipeline #137 passed with stage
......@@ -1805,12 +1805,6 @@ size_t cairo_draw(GraphInterface& gi,
boost::python::object ocr)
{
attrs_t vattrs, eattrs, vdefaults, edefaults;
#ifdef HAVE_SPARSEHASH
vattrs.set_empty_key(numeric_limits<int>::max());
eattrs.set_empty_key(numeric_limits<int>::max());
vdefaults.set_empty_key(numeric_limits<int>::max());
edefaults.set_empty_key(numeric_limits<int>::max());
#endif
typedef graph_traits<GraphInterface::multigraph_t>::vertex_descriptor vertex_t;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment