core dump with virtual_vertex_move
Hello, I was testing gt.BlockState.virtual_vertex_move(v, s) and I noticed that it doesn't check if the index s is higher than the number of blocks in the gt.BlockState object. In fact I have B with 6 blocks:
<BlockState object with 6 blocks (6 nonempty), degree-corrected, for graph <Graph object, undirected, with 1401 vertices and 24207 edges, 1 internal edge property, at 0x7f85c2d27400>, at 0x7f8584ecea00>
and
>>> B.virtual_vertex_move(0, 22)
-63.278288302929624
>>> B.virtual_vertex_move(0, 7)
inf
>>> B.virtual_vertex_move(0, 8)
libc++abi.dylib: terminating with uncaught exception of type std::length_error: vector