Opened 4 years ago

Closed 4 years ago

#27244 closed enhancement (fixed)

py3: fix doctests in generic_graph (part 8) -- coarsest_equitable_refinement

Reported by: David Coudert Owned by:
Priority: major Milestone: sage-8.7
Component: graph theory Keywords: py3, graph
Cc: Merged in:
Authors: David Coudert Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: 87ee62f (Commits, GitHub, GitLab) Commit: 87ee62f0003ad5598fea6f8b794fa7d8d9b51ff6
Dependencies: Stopgaps:

Status badges

Description

We fix a failing doctest with py3 and

  • change a test using sorted with a test using set. More robust
  • clean the creation of mappings vertex to int and int to vertex
  • speed up the addition of edges to the sparse/dense graph

Change History (4)

comment:1 Changed 4 years ago by David Coudert

Branch: u/dcoudert/27244_coarsest_equitable_refinement
Commit: 87ee62f0003ad5598fea6f8b794fa7d8d9b51ff6
Status: newneeds_review

New commits:

87ee62ftrac #27244: some care in coarsest_equitable_refinement

comment:2 Changed 4 years ago by David Coudert

Summary: py3: some care in coarsest_equitable_refinementpy3: fix doctests in generic_graph (part 8) -- coarsest_equitable_refinement

comment:3 Changed 4 years ago by Frédéric Chapoton

Reviewers: Frédéric Chapoton
Status: needs_reviewpositive_review

ok

comment:4 Changed 4 years ago by Volker Braun

Branch: u/dcoudert/27244_coarsest_equitable_refinement87ee62f0003ad5598fea6f8b794fa7d8d9b51ff6
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.