Opened 4 years ago

Last modified 4 years ago

#26757 closed enhancement

py3: fixing round in — at Version 1

Reported by: dcoudert Owned by:
Priority: major Milestone: sage-8.5
Component: python3 Keywords: py3, graph
Cc: tscrim, chapoton Merged in:
Authors: David Coudert Reviewers:
Report Upstream: N/A Work issues:
Branch: public/26757_round_in_graph_latex (Commits, GitHub, GitLab) Commit: d1888e4f90adfdda9194193d2539988cbc6051c2
Dependencies: Stopgaps:

Status badges

Description (last modified by dcoudert)

Several round are failing in as RealNumber does not define round.

TypeError: type sage.rings.real_mpfr.RealNumber doesn't define __round__ method

We fix that using round(float(...)).

Change History (1)

comment:1 Changed 4 years ago by dcoudert

  • Branch set to public/26757_round_in_graph_latex
  • Cc tscrim chapoton added
  • Commit set to d1888e4f90adfdda9194193d2539988cbc6051c2
  • Description modified (diff)
  • Status changed from new to needs_review

New commits:

d1888e4trac #26757: fixing round in
Note: See TracTickets for help on using tickets.