Opened 9 months ago

Last modified 9 months ago

#26757 closed enhancement

py3: fixing round in graph_latex.py — 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) Commit: d1888e4f90adfdda9194193d2539988cbc6051c2
Dependencies: Stopgaps:

Description (last modified by dcoudert)

Several round are failing in graph_latex.py 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 9 months 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 graph_latex.py
Note: See TracTickets for help on using tickets.