Opened 4 years ago

Last modified 3 years ago

#25944 new defect

Evaluating polynomial().list() on zero element is inconsistent among different precision types

Reported by: varul Owned by:
Priority: minor Milestone: sage-8.4
Component: padics Keywords: padicIMA, padicBordeaux
Cc: roed, caruso Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

I would expect the result of the following six commands to be the same.

sage: ZqFM(4,names='a')(0).polynomial().list()
[]
sage: ZqCA(4,names='a')(0).polynomial().list()
[]
sage: ZqFP(4,names='a')(0).polynomial().list()
[]
sage: QqFP(4,names='a')(0).polynomial().list()
[]
sage: ZqCR(4,names='a')(0).polynomial().list()
[0]
sage: QqCR(4,names='a')(0).polynomial().list()
[0]

However, they are not. The ones where the precision model is capped-relative gives [0] instead of the expected [].

Change History (2)

comment:1 Changed 4 years ago by varul

  • Summary changed from Evaluating polynomial().list() on 0 element is inconsistent among different precision types to Evaluating polynomial().list() on zero element is inconsistent among different precision types

comment:2 Changed 3 years ago by roed

  • Keywords padicBordeaux added
Note: See TracTickets for help on using tickets.