Error in get_matrix() for SBM
The function .get_matrix() does not work properly in latest version of the package.
I run the following code:
import graph_tool.all as gt
g = gt.collection.data["football"]
state = gt.minimize_blockmodel_dl(g)
e = state.get_matrix()
With latest version 2.43 I get a shape of 115x115 (the football network has 115 nodes) which is wrong because it should be a matrix KxK where K is the number of blocks.
With older version 2.35 I get a shape of 10x10 which is correct.