#15810: Immutable directed graphs should know that they are directed
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: graph theory | Resolution:
Keywords: immutable | Merged in:
directed graph | Reviewers:
Authors: Simon King | Work issues:
Report Upstream: N/A | Commit:
Branch: | 1382f4f40bea6fbf32af4f0f745aa2f645a235af
u/SimonKing/ticket/15810 | Stopgaps:
Dependencies: #15623 |
-------------------------------------+-------------------------------------
Comment (by ncohen):
> When I generally replace _directed by directed for static graph backend,
I get numerous errors!!
The file `static_graph_backend` also contains a CGraph class, which uses
`.directed` and not `_directed`. It's just a terrible choice. It has to be
`._directed` for GraphBackend and `.directed` for CGraph. And if you
change the value used in `is_directed_acyclic` that's going to fail when
the backend is a `SparseGraph`. `:-/`
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/15810#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.