#16307: Fix small bug in G.strong_orientation()
-------------------------------------+-------------------------------------
       Reporter:  jdickinson         |        Owner:
           Type:  defect             |       Status:  new
       Priority:  minor              |    Milestone:  sage-6.2
      Component:  graph theory       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jennet Dickinson   |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdickinson/ticket/16307          |  17a1a97a56b77ec4c0df0ac6ed0c51638f6ede96
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdickinson):

 * commit:   => 17a1a97a56b77ec4c0df0ac6ed0c51638f6ede96


Old description:

> Fix small bug in G.strong_orientation() by replacing
> {{{d.has_edge(e[0].e[1]) }}}
> with
> {{{d.has_edge(e[0],e[1])}}}
>
> The bug causes G.strong_orientation() to fail for G a multigraph.

New description:

 Fix small bug in G.strong_orientation() by replacing
 {{{d.has_edge(e[0].e[1]) }}}
 with
 {{{d.has_edge(e[0],e[1])}}}

 The bug causes G.strong_orientation() to fail for G a multigraph.  Also
 added a small multigraph to the doctests for G.strong_orientation()

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=17a1a97a56b77ec4c0df0ac6ed0c51638f6ede96
 17a1a97]||{{{Fixed bug preventing G.strong_orientation() from working on G
 a multigraph, added a small multigraph to doctests}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/16307#comment:4>
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/d/optout.

Reply via email to