Skip to content
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

Spurious "ERROR g is of an immutable type LightGraphs.AbstractGraph" #84

Closed
sbromberger opened this issue Feb 10, 2015 · 3 comments · Fixed by #179
Closed

Spurious "ERROR g is of an immutable type LightGraphs.AbstractGraph" #84

sbromberger opened this issue Feb 10, 2015 · 3 comments · Fixed by #179

Comments

@sbromberger
Copy link

abstract AbstractGraph
...

function add_vertex!(g::AbstractGraph)
    n = length(vertices(g)) + 1
    g.vertices = 1:n
    return n
end
@tonyhffong
Copy link
Owner

related: #56

@sbromberger
Copy link
Author

Thanks, @tonyhffong - I confess to not being proficient enough to recognize whether these issues I'm submitting are new.

@tonyhffong
Copy link
Owner

That's fine. I just need a way to cross-ref related issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants