Skip to content

Division by Zero Error when running Louvain Parallel #34

Description

@Septimmius

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions