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_comparability() fails for immutable graph #25550
Comments
This comment has been minimized.
This comment has been minimized.
Author: David Coudert |
Commit: |
Branch: public/25550_neighbors_nbrs |
comment:2
Right, method New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Travis Scrimshaw |
comment:5
LGTM modulo two trivial things:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
I have changed the seen data structure. I'm not sure it's best way to do it. May be a set is easier and sufficiently fast here. One issue I don't know how to solve is: were to free the bitset ? I don't find appropriate dealloc method. Should I add it ? |
comment:8
I don't like how you are using I also would like to see a test for |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
You are perfectly right. Should be better now. I'm using set again since it might be sufficiently fast here. |
comment:11
Thanks. LGTM. |
comment:12
Thank you. |
Changed branch from public/25550_neighbors_nbrs to |
outputs
IndexError: list index out of range
. Works withimmutable=False
.This follows from this:
which outputs
0
and1
.Component: graph theory
Author: David Coudert
Branch/Commit:
8080e05
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/25550
The text was updated successfully, but these errors were encountered: