Opened 3 years ago
Closed 3 years ago
#27811 closed defect (fixed)
fix doctest with igraph
Reported by: | dcoudert | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-8.8 |
Component: | graph theory | Keywords: | igraph |
Cc: | chapoton | Merged in: | |
Authors: | David Coudert | Reviewers: | Frédéric Chapoton |
Report Upstream: | N/A | Work issues: | |
Branch: | 2422888 (Commits, GitHub, GitLab) | Commit: | 2422888debd01976b53c39355fdb1c897674b4ff |
Dependencies: | Stopgaps: |
Description (last modified by )
Fix the doctest error reported in https://trac.sagemath.org/ticket/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
Change History (3)
comment:1 Changed 3 years ago by
- Branch set to public/graphs/27811_igraph
- Cc chapoton added
- Commit set to 2422888debd01976b53c39355fdb1c897674b4ff
- Description modified (diff)
- Status changed from new to needs_review
comment:2 Changed 3 years ago by
- Reviewers set to Frédéric Chapoton
- Status changed from needs_review to positive_review
ok, thx
comment:3 Changed 3 years ago by
- Branch changed from public/graphs/27811_igraph to 2422888debd01976b53c39355fdb1c897674b4ff
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
New commits:
trac #27811: fix doctest with igraph