Skip to content

cluster_fast_greedy() with argument 'modularity = FALSE' crashes R session #97

Description

@ntamas

From @schmidtchristoph on June 29, 2015 12:41

Hi,

for me changing the modularity argument of the cluster_fast_greedy() function crashes the R session. Following example reproduces this. Also happens with undirected weighted networks.

A <- matrix(sample(c(0,1), 100, replace = TRUE), 10, 10)
diag(A) <- 0
g <- graph_from_adjacency_matrix(A, mode = "undirected")

this works:
cluster_fast_greedy(g)

this then crashes the R session:
cluster_fast_greedy(g, modularity = FALSE)

Copied from original issue: igraph/igraph#836

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions