Opened 4 years ago
Last modified 4 years 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, GitHub, GitLab) | Commit: | d1888e4f90adfdda9194193d2539988cbc6051c2 |
Dependencies: | Stopgaps: |
Description (last modified by )
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 4 years ago by
- 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
Note: See
TracTickets for help on using
tickets.
New commits:
trac #26757: fixing round in graph_latex.py