Opened 5 weeks ago

Closed 5 weeks ago

#27244 closed enhancement (fixed)

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

Reported by: dcoudert 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) Commit: 87ee62f0003ad5598fea6f8b794fa7d8d9b51ff6
Dependencies: Stopgaps:

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 5 weeks ago by dcoudert

  • Branch set to u/dcoudert/27244_coarsest_equitable_refinement
  • Commit set to 87ee62f0003ad5598fea6f8b794fa7d8d9b51ff6
  • Status changed from new to needs_review

New commits:

87ee62ftrac #27244: some care in coarsest_equitable_refinement

comment:2 Changed 5 weeks ago by dcoudert

  • Summary changed from py3: some care in coarsest_equitable_refinement to py3: fix doctests in generic_graph (part 8) -- coarsest_equitable_refinement

comment:3 Changed 5 weeks ago by chapoton

  • Reviewers set to Frédéric Chapoton
  • Status changed from needs_review to positive_review

ok

comment:4 Changed 5 weeks ago by vbraun

  • Branch changed from u/dcoudert/27244_coarsest_equitable_refinement to 87ee62f0003ad5598fea6f8b794fa7d8d9b51ff6
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.