- Timestamp:
- Jul 5, 2019, 1:22:19 PM (5 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- f846acd24f4deb73b0e1179f7ea25a1d457c0c11
- Parents:
- d7e478b022286a7b9c6c3b8ad497909018f6560d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/flint_mpoly.cc
rd7e478b ra40b28 823 823 if (ok) 824 824 { 825 // Flint normalizes the gcd to be monic. 826 // Singular wants a gcd defined over ZZ that is primitive and has a positive leading coeff. 827 if (!fmpq_mpoly_is_zero(res, ctx)) 828 { 829 fmpq_t content; 830 fmpq_init(content); 831 fmpq_mpoly_content(content, res, ctx); 832 fmpq_mpoly_scalar_div_fmpq(res, res, content, ctx); 833 fmpq_clear(content); 834 } 825 835 pres=convFlintMPSingP(res,ctx,r); 826 836 p_Test(pres,r);
Note: See TracChangeset
for help on using the changeset viewer.