Ticket #11367 (closed enhancement: fixed)

Opened 2 years ago

Last modified 19 months ago

Rounding values, and inconsistencies in graph methods

Reported by: ncohen Owned by: jason, ncohen, rlm
Priority: major Milestone: sage-4.8
Component: graph theory Keywords:
Cc: nthiery Work issues:
Report Upstream: N/A Reviewers: Leonardo Sampaio
Authors: Nathann Cohen Merged in: sage-4.8.alpha0
Dependencies: Stopgaps:

Description

This patch rounds values of methods when their result is expected to be integer (dominating set, flows, connectivity, ...)

It also modifies a "weight" parameter which should be replaced by the usual "use_edge_labels" parameter used throughout the file.

Nathann

Attachments

trac_11367.patch Download (18.7 KB) - added by ncohen 20 months ago.

Change History

comment:1 Changed 2 years ago by ncohen

  • Status changed from new to needs_review

Changed 20 months ago by ncohen

comment:2 Changed 19 months ago by lsampaio

  • Status changed from needs_review to positive_review
  • Reviewers set to Leonardo Sampaio

The patch is working and I believe it should be merged to sage.

comment:3 Changed 19 months ago by jdemeyer

  • Milestone changed from sage-4.7.2 to sage-4.7.3
  • Type changed from defect to enhancement
  • Authors set to Nathann Cohen

comment:4 Changed 19 months ago by jdemeyer

  • Status changed from positive_review to closed
  • Resolution set to fixed
  • Merged in set to sage-4.7.3.alpha0

comment:5 Changed 19 months ago by jdemeyer

  • Milestone sage-4.7.3 deleted

Milestone sage-4.7.3 deleted

comment:6 Changed 19 months ago by jdemeyer

  • Merged in changed from sage-4.7.3.alpha0 to sage-4.8.alpha0
  • Milestone set to sage-4.8
Note: See TracTickets for help on using tickets.