Skip to content

Warning #2202

@maelle

Description

@maelle

From #2058 when running test-centrality we get

> G <- sample_gnm(10, sample(1:20, 1))
+     hs <- hits_scores(G)
Warning message:
In hub_and_authority_scores_impl(graph = graph, weights = weights,  :
  At vendor/cigraph/src/centrality/hub_authority.c:294 : Hub and authority scores requested for undirected graph. These are the same as eigenvector centralities.

How should we handle this warning? Does this mean hits_score() should run is.directed() on its input before calling another function?

@schochastics @szhorvat

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions