#18137: Centrality betweenness in Sage
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_work
           Type:         |    Milestone:  sage-6.6
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:  graph  |    Reviewers:  David Coudert
  theory                 |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  c9f83e7edf6d3b5a7e74b22a98127fbdbbc8cee6
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/18137           |
   Dependencies:         |
-------------------------+-------------------------------------------------
Changes (by vbraun):

 * status:  positive_review => needs_work


Comment:

 I'm getting this on 32-bit. You should probably add an `# abs tol`
 {{{
 sage -t --long src/sage/graphs/graph.py
 **********************************************************************
 File "src/sage/graphs/graph.py", line 4662, in sage.graphs.graph.Graph.?
 Failed example:
     (graphs.ChvatalGraph()).centrality_betweenness(
       normalized=False) # abs tol abs 1e10
 Expected:
     {0: 3.833333333333333, 1: 3.833333333333333, 2: 3.333333333333333,
      3: 3.333333333333333, 4: 3.833333333333333, 5: 3.833333333333333,
      6: 3.333333333333333, 7: 3.333333333333333, 8: 3.333333333333333,
      9: 3.333333333333333, 10: 3.333333333333333,
      11: 3.333333333333333}
 Got:
     {0: 3.833333333333333,
      1: 3.833333333333333,
      2: 3.333333333333333,
      3: 3.333333333333333,
      4: 3.833333333333333,
      5: 3.833333333333333,
      6: 3.333333333333333,
      7: 3.3333333333333335,
      8: 3.333333333333333,
      9: 3.333333333333333,
      10: 3.333333333333333,
      11: 3.333333333333333}
 **********************************************************************
 1 item had failures:
    1 of  66 in sage.graphs.graph.Graph.?
     [652 tests, 1 failure, 15.40 s]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18137#comment:50>
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