igraph::graph_from_adjacency_matrix()
will start requiring symmetric adjacency matrices with mode='undirected'
#27
Labels
bug
Something isn't working
Describe the bug
graph_from_adjacency_matrix()
is changing in igraph, and a future version will strictly require the input matrix to be symmetric if usingmode='undirected'
. This would cause some of themanynet
tests to fail. If the non-symmetric input is intentional, choose a mode that is explicit about how to disambiguate between the above- and below-diagonal parts of the matrix.Using
mode='max'
recovers the old behaviour and is compatible with earlier igraph.Provide system information
main
To Reproduce
devtools::install_github("igraph/rigraph")
.manynet
test suite.The text was updated successfully, but these errors were encountered: