gsql-graph-algorithms icon indicating copy to clipboard operation
gsql-graph-algorithms copied to clipboard

Division by Zero Error when running Louvain Parallel

Open Septimmius opened this issue 4 years ago • 0 comments

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? @Suxiaocai Many thanks!

Septimmius avatar Jun 02 '21 07:06 Septimmius