Crash on calculating assortativity with a VertexProperty
Crash on calculating assortativity with a VertexProperty.
The code:
property = g.vertex_properties['name']
ass = graph_tool.correlations.scalar_assortativity(g, property)
same error also comes at graph_tool.correlations.assortativity(g, property)
Error:
File "/usr/local/lib/python3.7/site-packages/graph_tool/correlations/__init__.py", line 181, in scalar_assortativity
_degree(g, deg))
RuntimeError: No static implementation was found for the desired routine. This is a graph_tool bug. :-( Please submit a bug report at http://graph-tool.skewed.de/issues.
It is expecting a degree type, however in the documentation it is stated that PropertyMap is also allowed