Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4548 closed defect (duplicate)

bug in latexing a certain symbolic expression

Reported by: was Owned by: cwitty
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: misc Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Reported by Anders in sage-devel:

There's a problem with powers of negative numbers the latex method for
symbolic arithmetic.
In version 3.1.4 I get this:
{{{
sage: var('n')
n
sage: latex((-1)^n)
{-1}^{n}

It should, of course, be {(-1)}^{n}.
 -- Anders
}}}


Change History (2)

comment:1 Changed 12 years ago by was

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

#5004 dup'd this, but has a patch.

comment:2 Changed 12 years ago by mabshoff

  • Milestone changed from sage-3.4.1 to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.