21 Dec
2006
21 Dec
'06
2:39 p.m.
Jens Müller wrote:
struct VertexProperties { float x; float y; };
struct EdgeProperties { float length; };
My fault - changed this to double, and it worked. Well, nearly - now it crashes when it reaches the edges: $ ./separator -f test -i planar100k.graphml terminate called after throwing an instance of 'boost::property_not_found' what(): Property not found: length. Aborted Why isn't dp.property("length", get(&EdgeProperties::length, g)); sufficient?