-
Notifications
You must be signed in to change notification settings - Fork 74
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
ArgumentError in Graph.degeneracy/1 for version 0.10.2 #3
Comments
Can you gist up the result of |
Unfortunately the inspect approach didn't work so well. However, encoding it as JSON worked great! https://gist.github.com/yonkeltron/e48c10985cfc1933b94e45b7dccfe655 |
Yeah I forgot to mention that you can do |
Found the problem - I forgot to account for self-referential edges. I've pushed the fix to master - looks good on my end though! |
Loops, you mean?
On Mon, Jul 24, 2017, 11:18 AM Paul Schoenfelder ***@***.***> wrote:
Found the problem - I forgot to account for self-referential edges. I've
pushed the fix to master - looks good on my end though!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADoO3zE577EnRtFjnNKu0exuzb4wm3Uks5sRLXHgaJpZM4OgkaC>
.
--
+Jonathan
|
Yeah, specifically loops from a vertex back to itself. |
Will this fix go out in a dot release? |
Yep, I'll get one published today. I wanted to get some improvements into the initial clique detection code to try and optimize it (it's pretty slow on large graphs, which is expected, but I think there may be ways to do better than the current perf profile), but I can release what is there now and do another point release with those improvements. |
Just pushed 0.11.0 :) |
Fix remaining typespec violations
Encountered this error (appears to be from ETS) when processing a smallish graph.
Using
Graph.info
tells me that it looks like this:%{num_edges: 201, num_vertices: 101, size_in_bytes: 69504, type: :directed}
while the printer representation gives me#Graph<type: directed, num_vertices: 101, num_edges: 201>
. Neither of these enable me to send you the graph I'm working with. Any tips on how to serialize the graph for transmission to you?Happy to provide more info since everything's bogus and simulated anyhow!
Thanks,
+Jonathan
The text was updated successfully, but these errors were encountered: