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

Conversion from ZpFM to its fraction field incorrect #23966

Closed
saraedum opened this issue Oct 5, 2017 · 16 comments
Closed

Conversion from ZpFM to its fraction field incorrect #23966

saraedum opened this issue Oct 5, 2017 · 16 comments

Comments

@saraedum
Copy link
Member

saraedum commented Oct 5, 2017

sage: R = ZqFM(2)
sage: K = R.fraction_field()
sage: K(R.zero())
<blankline>

Depends on #23510

CC: @roed314

Component: padics

Author: David Roe

Branch/Commit: b8de189

Reviewer: Julian Rüth

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

@saraedum saraedum added this to the sage-8.1 milestone Oct 5, 2017
@saraedum
Copy link
Member Author

saraedum commented Oct 5, 2017

@saraedum
Copy link
Member Author

saraedum commented Oct 5, 2017

Changed branch from u/saraedum/conversion_from_zpfm_to_its_fraction_field_incorrect to none

@saraedum
Copy link
Member Author

saraedum commented Oct 5, 2017

comment:2

David, you know this code much better than I do. I have no idea if this is the best fix for this.

@saraedum
Copy link
Member Author

saraedum commented Oct 5, 2017

Author: Julian Rüth

@roed314
Copy link
Contributor

roed314 commented Oct 5, 2017

@roed314
Copy link
Contributor

roed314 commented Oct 5, 2017

comment:3

Setting branch back....


New commits:

87c900cnormalize() FP elements

@roed314
Copy link
Contributor

roed314 commented Oct 5, 2017

Commit: 87c900c

@roed314
Copy link
Contributor

roed314 commented Oct 6, 2017

@roed314
Copy link
Contributor

roed314 commented Oct 6, 2017

Reviewer: Julian Rüth

@roed314
Copy link
Contributor

roed314 commented Oct 6, 2017

Changed commit from 87c900c to b8de189

@roed314
Copy link
Contributor

roed314 commented Oct 6, 2017

Changed author from Julian Rüth to David Roe

@roed314
Copy link
Contributor

roed314 commented Oct 6, 2017

comment:5

Alright, I've taken a different approach, and added in a test.


Last 10 new commits:

cb882fdUpdate add_bigoh to account for fixed-mod having a fraction field
a826978Fix _tester_add_bigoh
883e6b5Fix doctest in local_generic_element.pyx
52cbd2aMerge branch 'u/roed/fixed_mod_frac_field' of git://trac.sagemath.org/sage into t/23510/fixed_mod_frac_field
bc59ffaMerge branch 't/14825/polynomial_representation_of_a_padic_number' into t/23510/fixed_mod_frac_field
3292259Merge branch 'u/saraedum/fixed_mod_frac_field' of git://trac.sagemath.org/sage into t/23510/fixed_mod_frac_field
dad02c7Merge branch 'u/saraedum/fixed_mod_frac_field' of git://trac.sagemath.org/sage into t/23510/fixed_mod_frac_field
189ac2bAdd _test_fraction_field to the coercion tutorial
98d8256Merge branch 'u/roed/fixed_mod_frac_field' of git://trac.sagemath.org/sage into develop
b8de189Different fix for 23966, add doctest

@roed314
Copy link
Contributor

roed314 commented Oct 6, 2017

comment:6

Most of the changes visible are from #23510. This ticket is basically the changes to FP_template.pxi.

@roed314
Copy link
Contributor

roed314 commented Oct 6, 2017

Dependencies: #23510

@saraedum
Copy link
Member Author

saraedum commented Oct 6, 2017

comment:7

there is one failing doctest from the patchbot which should be unrelated.

@vbraun
Copy link
Member

vbraun commented Oct 15, 2017

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