New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is_chordal crashes R when called on simple graph #181
Comments
I have a similar problem for a simple undirected graph with
@thomasp85 it seems that in your case, the problem can be solved by calling
|
The issue with not checking for directed graphs is solved in the latest C core. @mlindsk Can you please share the graph? Without that, we cannot debug the problem. |
Yes, I understood that. That is why I was asking for it.
However, this graph is not simple. It has parallel edges. This is what causes the problem. A check for simple graphs was also added in the latest C core, so I guess this is addressed (and should propagate to the R interface eventually). You can use |
@szhorvat Thanks! This clarifies things. |
This now works in the
|
I came across this bug while testing
tidygraph
. The following code consistently crashes R on my Mac:The text was updated successfully, but these errors were encountered: