Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with p-adic printing #24843

Closed
xcaruso opened this issue Feb 26, 2018 · 39 comments
Closed

Issue with p-adic printing #24843

xcaruso opened this issue Feb 26, 2018 · 39 comments

Comments

@xcaruso
Copy link
Contributor

xcaruso commented Feb 26, 2018

sage: R = Zp(2, print_mode='digits', show_prec=True)
sage: R(0,10)
...0000000000^10)

Depends on #23450
Depends on #23218

CC: @roed314 @saraedum

Component: padics

Keywords: printing padics, padicIMA

Author: Xavier Caruso

Branch/Commit: a736db8

Reviewer: David Roe

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

@xcaruso xcaruso added this to the sage-8.2 milestone Feb 26, 2018
@xcaruso
Copy link
Contributor Author

xcaruso commented Feb 28, 2018

Branch: u/caruso/padic_printing

@xcaruso
Copy link
Contributor Author

xcaruso commented Feb 28, 2018

Commit: 5bf6d9d

@xcaruso
Copy link
Contributor Author

xcaruso commented Feb 28, 2018

Author: Xavier Caruso

@xcaruso
Copy link
Contributor Author

xcaruso commented Feb 28, 2018

comment:2

I fixed this issue and addressed at the same time #23234.

I've extended the set of possible values allowed for the keyword show_prec: it can now either none (no precision is printed), bigoh or dots. A boolean is still possible: False always means none while True means bigoh or dots depending on the printing mode.


New commits:

5bf6d9dNew options for show_prec: 'none', 'bigoh' and 'dots'

@roed314
Copy link
Contributor

roed314 commented Feb 28, 2018

Changed branch from u/caruso/padic_printing to u/roed/padic_printing

@roed314
Copy link
Contributor

roed314 commented Feb 28, 2018

Changed commit from 5bf6d9d to eb99ef3

@roed314
Copy link
Contributor

roed314 commented Feb 28, 2018

Reviewer: David Roe

@roed314
Copy link
Contributor

roed314 commented Feb 28, 2018

comment:4

If Xavier is happy with my changes, positive review.


New commits:

eb99ef3Fix some more doctest output, a few minor changes and comments

@xcaruso
Copy link
Contributor Author

xcaruso commented Feb 28, 2018

comment:5

I am (as soon as the patchbot does not complain).

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 28, 2018

Changed commit from eb99ef3 to c6c0cd8

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 28, 2018

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

8b239f4trac 23450 details of doc
93d4e32Merge branch 'public/23450' in 8.1
14f591cfixing 2 doctests
cf85a34Merge branch 'public/23450' of ssh://trac.sagemath.org/sage into t/23450/padic_smith
7ad838aRemove _get_matrix_class that was inadvertently added in a merge
b5863a1Add newline back in from fix to matrix_space.py
777f494Remove the tracks_precision method and update the p-adic smith form to be able to deal with lattice elements
d78a1d5Add exact parameter to _matrix_smith_form, fix precision behavior and allow integral=True for non-padic matrices
d9ad1e5Merge branch 't/23450/padic_smith' into t/24843/padic_printing
c6c0cd8Fix doctest in matrix2 due to changes in printing

@roed314
Copy link
Contributor

roed314 commented Feb 28, 2018

Dependencies: #23450

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 28, 2018

Changed commit from c6c0cd8 to ba0ea8c

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 28, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

ba0ea8cFix doctest in Explicit Methods in Number Theory

@roed314
Copy link
Contributor

roed314 commented Jul 22, 2018

Changed keywords from printing padics to printing padics, padicIMA

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 23, 2018

Changed commit from ba0ea8c to debf1fc

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 23, 2018

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

debf1fcCommit to make different from develop

@roed314
Copy link
Contributor

roed314 commented Jul 25, 2018

Changed branch from u/roed/padic_printing to u/roed/padic_prints

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 25, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

c3af1bdMerge branch 'u/roed/padic_prints' of git://trac.sagemath.org/sage into t/24843/padic_prints

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 25, 2018

Changed commit from debf1fc to c3af1bd

@xcaruso
Copy link
Contributor Author

xcaruso commented Jul 25, 2018

Changed branch from u/roed/padic_prints to u/caruso/padic_prints

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 25, 2018

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

1453379creduce after coercion from CA to its fraction field
5ffb263replace creduce by normalize
7e842e3Avoid to call two times cremove
618c61eMore reduce
b50388aWorking on fixing bugs in non-CR types
0145c56Merge branch 'u/caruso/ramified_extensions_of_general_p_adic_rings_and_fields' of git://trac.sagemath.org/sage into t/23218/general_extensions
8d27ed7Merge branch 'u/roed/ramified_extensions_of_general_p_adic_rings_and_fields' of trac.sagemath.org:sage into t/23218/ramified_extensions_of_general_p_adic_rings_and_fields
8654e79Make several methods work (or raise a NotImplementedError) for extensions
e156f7fWrite a test suite for the shifting operator
74f7fb9Merge branch 't/23218/ramified_extensions_of_general_p_adic_rings_and_fields' into t/24843/padic_prints

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 25, 2018

Changed commit from c3af1bd to 74f7fb9

@xcaruso
Copy link
Contributor Author

xcaruso commented Jul 25, 2018

Changed dependencies from #23450 to #23450, #23218

@xcaruso
Copy link
Contributor Author

xcaruso commented Jul 25, 2018

comment:15

I've merged this ticket with #23218 in order to be sure that they are not in conflit.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 26, 2018

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

cabb63eMerge branch 'u/caruso/quo_rem_revision' of git://trac.sagemath.org/sage into t/21994/quo_rem_revision
4fed21fMerge branch 't/21994/quo_rem_revision' into t/23218/ramified_extensions_of_general_p_adic_rings_and_fields
aacb4c2Merge branch 'u/roed/ramified_extensions_of_general_p_adic_rings_and_fields' of trac.sagemath.org:sage into t/23218/ramified_extensions_of_general_p_adic_rings_and_fields
0ea13c0Fix two bugs: one in expansion, one in cshift
22840e5Prevent _test_log to compute log(0)
87f4c43Always creduce after cremove
b1a3236Remove unwanted print statements
31ae67dMerge branch 't/23218/ramified_extensions_of_general_p_adic_rings_and_fields' into t/24843/padic_prints
9bce799Fix docbuild problem
3104af8Merge branch 'u/roed/ramified_extensions_of_general_p_adic_rings_and_fields' of trac.sagemath.org:sage into t/24843/padic_prints

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 26, 2018

Changed commit from 74f7fb9 to 3104af8

@roed314
Copy link
Contributor

roed314 commented Jul 26, 2018

Changed branch from u/caruso/padic_prints to u/roed/padic_prints

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 27, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

0e6628dFix conversion from QqFP to QqCR
8576c59Change construction functors for p-adics, making pushouts work in towers
b45a21eMerge branch 'u/roed/ramified_extensions_of_general_p_adic_rings_and_fields' of trac.sagemath.org:sage into t/23218/ramified_extensions_of_general_p_adic_rings_and_fields
2d1a5c7allow extension() method to accept implementation and prec arguments
bfe8ac7Merge branch 't/23218/ramified_extensions_of_general_p_adic_rings_and_fields' into t/24843/padic_prints
b6cbd1dUpdate polynomial printing, fix doctests
fcd4672Fix a couple more doctest errors

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 27, 2018

Changed commit from 3104af8 to fcd4672

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 27, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

dd5d0cdChange ccmp to not short-circuit
b8a847dMerge branch 't/23218/ramified_extensions_of_general_p_adic_rings_and_fields' into t/24843/padic_prints

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 27, 2018

Changed commit from fcd4672 to b8a847d

@xcaruso
Copy link
Contributor Author

xcaruso commented Jul 28, 2018

Changed branch from u/roed/padic_prints to u/caruso/padic_prints

@roed314
Copy link
Contributor

roed314 commented Jul 29, 2018

Changed branch from u/caruso/padic_prints to u/roed/padic_prints

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 29, 2018

Changed commit from b8a847d to a736db8

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 29, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

a736db8Fixing doctests due to changes in polynomial printing

@roed314
Copy link
Contributor

roed314 commented Jul 29, 2018

comment:23

All tests pass. I'm happy with this ticket, if Xavier approves of my changes to polynomial printing.

@xcaruso
Copy link
Contributor Author

xcaruso commented Jul 30, 2018

comment:24

I do.

As for #23218, the patchbot reports failures but I think that they are not related to this ticket.

I give a positive review to this ticket. Feel free to revert this if you disagree.

@vbraun
Copy link
Member

vbraun commented Aug 9, 2018

Changed branch from u/roed/padic_prints to a736db8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants