When I run cluster_edge_betweenness() function I’ve received the following error:
Error in cluster_edge_betweenness(train_network) :
At core/core/stack.pmt:168 : Assertion failed: s->stor_begin != NULL. This is an unexpected igraph error; please report this as a bug, along with the steps to reproduce it.
I converted my adjacency matrix to the network using this code :
What version of igraph and R are you using? Are you certain that you were using the same version both times you tried? Can you reproduce it at least erratically if you run the same code multiple times?
@Ilhom_Sadriddinov It would have been useful to get an answer to that question, as there are types of bugs which could cause this but do not manifest themselves consistently.
Anyway, I ran this with AddressSanitizer and it did not crash which gives me confidence that there is no problem with igraph.