Ticket #1783 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

[with patch, with positive review] fix latex errors with fraction field elements

Reported by: mhansen Owned by: malb
Priority: minor Milestone: sage-2.10
Component: commutative algebra Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

sage:             sage: R = PolynomialRing(QQ, 'x').fraction_field()
sage:             sage: x = R.gen()
sage:             sage: a = 1/x
sage:             sage: a._FractionFieldElement__numerator = R(0)
sage:             sage: latex(a)
\frac{0}{x}

It should instead give 0.

Attachments

1783.patch Download (1.0 KB) - added by mhansen 5 years ago.
1783-doctests.patch Download (968 bytes) - added by mhansen 5 years ago.

Change History

Changed 5 years ago by mhansen

comment:1 Changed 5 years ago by mhansen

  • Summary changed from fix latex errors with fraction field elements to [with patch] fix latex errors with fraction field elements

Changed 5 years ago by mhansen

comment:2 Changed 5 years ago by ncalexan

  • Summary changed from [with patch] fix latex errors with fraction field elements to [with patch, with positive review] fix latex errors with fraction field elements

This should go in.

comment:3 Changed 5 years ago by mabshoff

  • Status changed from new to closed
  • Resolution set to fixed

Both patches merged in Sage 2.10.alpha4

Note: See TracTickets for help on using tickets.