Overlap of nested partitions with different depths
nested_partition_overlap_center()
crashes when it receives a list of nested partitions with different depths (gt 2.37, conda-forge).
a = [[0, 1, 2, 3], [0, 0, 1, 1], [0, 0]]
b = [[0, 0, 1, 1], [0, 0]]
gt.nested_partition_overlap_center([a, a]) # this works
gt.nested_partition_overlap_center([a, b]) # this crashes
The problem arises, e.g., when the consensus partition for a list of partitions from multiple runs of a nested SBM is sought.