#813: forced coercion vs. automatic coercion
----------------------------+-----------------------------------------------
   Reporter:  nbruin        |          Owner:  roed           
       Type:  defect        |         Status:  positive_review
   Priority:  major         |      Milestone:  sage-4.7.2     
  Component:  coercion      |       Keywords:                 
Work_issues:                |       Upstream:  N/A            
   Reviewer:  Julian Rueth  |         Author:  Simon King     
     Merged:                |   Dependencies:  #9944          
----------------------------+-----------------------------------------------

Old description:

> 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]
>  1. [attachment:trac_813_review.2.patch]
>
> to the sage repository.

New description:

 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]
  1. [attachment:trac_813_review.2.patch]

 to the sage repository.

--

Comment(by saraedum):

 Apply trac813_univariate_coerce_from_multivariate.patch,
 trac_813_review.patch

 Sorry, struggling with the patchbot.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/813#comment:20>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to