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

fix doctest with igraph #27811

Closed
dcoudert opened this issue May 11, 2019 · 7 comments
Closed

fix doctest with igraph #27811

dcoudert opened this issue May 11, 2019 · 7 comments

Comments

@dcoudert
Copy link
Contributor

Fix the doctest error reported in #27480 comment:78 with a tolerance gap

**********************************************************************
File "src/sage/graphs/generic_graph.py", line 9663, in sage.graphs.generic_graph.GenericGraph.?
Failed example:
    G.pagerank(alpha=0.50, algorithm="igraph")  # optional - python_igraph
Expected:
    {0: 0.25, 1: 0.25, 2: 0.24999999999999997, 3: 0.24999999999999997}
Got:
    {0: 0.25, 1: 0.25, 2: 0.25, 3: 0.25}
**********************************************************************
1 item had failures:
   1 of 860 in sage.graphs.generic_graph.GenericGraph.?
    [3497 tests, 1 failure, 50.96 s]
----------------------------------------------------------------------
sage -t --long src/sage/graphs/generic_graph.py  # 1 doctest failed

CC: @fchapoton

Component: graph theory

Keywords: igraph

Author: David Coudert

Branch/Commit: 2422888

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/27811

@dcoudert dcoudert added this to the sage-8.8 milestone May 11, 2019
@dcoudert
Copy link
Contributor Author

Commit: 2422888

@dcoudert

This comment has been minimized.

@dcoudert
Copy link
Contributor Author

New commits:

2422888trac #27811: fix doctest with igraph

@dcoudert
Copy link
Contributor Author

Branch: public/graphs/27811_igraph

@fchapoton
Copy link
Contributor

comment:2

ok, thx

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@vbraun
Copy link
Member

vbraun commented May 17, 2019

Changed branch from public/graphs/27811_igraph to 2422888

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

No branches or pull requests

3 participants