Skip to content

pAdicZZpXCAElement can not be initialized from fraction field element #13600

@saraedum

Description

@saraedum

Currently, the following code fails:

sage: R = ZpCA(3,5)
sage: S.<T> = R[]
sage: W.<a> = R.extension(T^2-3)
sage: W(W.fraction_field().zero())
TypeError: Cannot convert sage.rings.padics.padic_ZZ_pX_CR_element.pAdicZZpXCRElement to sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement

The attached patch fixes this.

Component: padics

Author: Julian Rueth

Reviewer: David Roe

Merged: sage-5.8.beta1

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions