OK, this happens, because the each vertex ends up in its own community, and in this case the modularity vector returned by the C level is empty. So this is a bug in the C function.
OK, this happens, because the each vertex ends up in its own community, and in this case the modularity vector returned by the C level is empty. So this is a bug in the C function.