Skip to content

symbolic expression displayed wrong #7876

@gvol

Description

@gvol

It appears that the internal representation is correct since further calculations give correct answers, but the answer is displayed incorrectly.

sage: f=(1/2-1/2*I )*sqrt(2)
sage: f
-(1/2*I + 1/2)*sqrt(2)
sage: f+1/2*sqrt(2)
-(1/2*I + 1)*sqrt(2)
sage: f-1/2*sqrt(2)
-1/2*I*sqrt(2)
sage: latex(f)
-\left(\frac{1}{2} I + \frac{1}{2}\right) \, \sqrt{2}
sage: 

Component: symbolics

Keywords: pynac

Author: Burcin Erocal

Reviewer: Jason Grout, Ross Kyprianou

Merged: sage-4.3.3.alpha1

Issue created by migration from https://trac.sagemath.org/ticket/7876

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions