Division by Zero Error when running Louvain Parallel?

Hello TigerGraph Team,

When running Louvain Parallel Algorithm, I encountered the following runtime error:

GSQL > run query louvain_parallel (“Car”, “SIMILAR_TO”, _, _, _, _, _, _, _, _, _)
Runtime Error: divider is zero.

I am running Louvain on a monopartite graph with “Car” being the only vertex type and edge “SIMILAR_TO” being the relationships between cars.

I checked the source code and found several places where division took place, but had no clue which division caused the error.

Can someone help me? @rik Many thanks!