Fixed some division by zero errors in loneliness_score (when there are zero nodes for a partition). Fixed crash in community base_partition call caused by a subgraph having zero nodes. Now, on zero nodes, the partition_score is set to 1.0.
Fixed some division by zero errors in loneliness_score (when there are zero nodes for a partition). Fixed crash in community base_partition call caused by a subgraph having zero nodes. Now, on zero nodes, the partition_score is set to 1.0.

sbarakat/graph-partitioning,sbarakat/graph-partitioning,sbarakat/graph-partitioning,sbarakat/graph-partitioning,sbarakat/graph-partitioning,sbarakat/graph-partitioning