Skip to content

forced coercion vs. automatic coercion #813

@nbruin

Description

@nbruin

This should give similar results, but it is inconsistent:

P1.<x>=QQ[]
L=P1.fraction_field()
x=L(x)
P2.<y>=P1[]

f=x+y

P3.<x,y>=QQ[]

P3(f)

0*P3.0+f

Apply

  1. attachment: trac813_univariate_coerce_from_multivariate.patch
  2. attachment: trac_813_review.patch

to the Sage library repository.

Depends on #9944

Component: coercion

Author: Simon King

Reviewer: Julian Rueth

Merged: sage-4.7.2.alpha3

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions