Changeset bcfd11a in git for libpolys/polys/monomials/p_polys.cc
- Timestamp:
- Mar 20, 2012, 3:33:34 PM (11 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 7e9f1298826e9e80c154aaa465935c0ba2acad38
- Parents:
- dd668fd21e0141dd6716d45d63f34e6ca84d230f
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-20 15:33:34+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-23 16:06:34+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.cc
rdd668f rbcfd11a 3457 3457 poly qq; /* the mapped monomial */ 3458 3458 3459 assume(dst != NULL); 3460 assume(dst->cf != NULL); 3461 3459 3462 while (p != NULL) 3460 3463 { … … 3466 3469 number n = nMap(p_GetCoeff(p, oldRing), oldRing->cf, dst->cf); 3467 3470 3468 if ( (!rMinpolyIsNULL(dst)) && (rField_is_Zp_a(dst) || rField_is_Q_a(dst)) )3471 if ( nCoeff_is_algExt(dst->cf) ) 3469 3472 n_Normalize(n, dst->cf); 3470 3473 … … 3483 3486 p_Test(aq, dst); 3484 3487 3485 if ( (!rMinpolyIsNULL(dst)) && (rField_is_Zp_a(dst) || rField_is_Q_a(dst)) ) 3486 { 3488 if ( nCoeff_is_algExt(dst->cf) ) 3487 3489 p_Normalize(aq,dst); 3488 3489 } 3490 3490 3491 if (aq == NULL) 3491 3492 p_SetCoeff(qq, n_Init(0, dst->cf),dst); // Very dirty trick!!! … … 3586 3587 } 3587 3588 } 3588 if ( mapped_to_par && (!rMinpolyIsNULL(dst)) )3589 if ( mapped_to_par && nCoeff_is_algExt(dst->cf) ) 3589 3590 { 3590 3591 number n = p_GetCoeff(qq, dst); 3591 n_Normalize(n, dst->cf);3592 n_Normalize(n, dst->cf); 3592 3593 p_GetCoeff(qq, dst) = n; 3593 3594 }
Note: See TracChangeset
for help on using the changeset viewer.