Hey Aprit,

The errors (there's numerous instances of each of these errors occurring. 
> Please find below one of each type):
> (1) 
> sage: R.<t> = QQ[]
> sage: sigma = R.hom([t+1])
> sage: S.<x> = R['x', sigma]
> sage: S.twist_map(-1)
>
>
>
> *Got - TypeError: bad operand type for unary ~: 
> 'sage.rings.morphism.RingHomomorphism_im_gens'Expected - 
> NotImplementedError*
>
This looks like you are trying to invert a morphism which does not have a 
defined __invert__ method. If you are expecting it to, then you likely are 
creating objects (morphisms) different than what you are expecting.
 

> (2) 
> sage: k.<t> = GF(5^3)
> sage: Frob = k.Frobenius_endomorphism()
> sage: S.<x> = k.['x', Frob]
> sage: a = x^3 + (t^2 + 1)*x^2 + (2*t + 3)*x + t^2 + t + 2
>
>
>
> *Got - Exception raised:... (traceback) TypeError: Cannot convert int to 
> sage.structure.element.Element*
>
>>
>>
Somewhere in the computation, you are creating/returning a python int, 
which is getting passed/returned by a _cmp_, _call_, etc, instead.

Also, as a more generic comment from browsing through the code, I don't 
really like having objects for Right and Left, and in particular, I 
strongly think they should not be included in the global namespace.

Best,
Travis

 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to