Igraph error: "Weight vector must be positive. Invalid value" possible solutions

134 Views Asked by At

As most of you know, Igraph gives error when weight values are not positive, so even when they are "0".
The error is this one:

Weight vector must be positive. Invalid value

I've seen other questions on Stack and answers suggests to change the value from 0 to, for example, 0.001 or, anyway, solve the problem by changing the value.
Assuming that I need the values to be 0 for statistical purposes, are there any other solutions?

0

There are 0 best solutions below