Changeset da0565 in git
- Timestamp:
- Mar 16, 2012, 7:01:20 PM (11 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- cd9796d49b820bd9ecc81b49dc04073e0bbf6012
- Parents:
- 4d94c97313de2ce07f4bfae84308b31c1294a569
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-16 19:01:20+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-16 19:36:36+01:00
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/preimage.cc
r4d94c97 rda0565 92 92 } 93 93 94 if (n_SetMap(theImageRing->cf,dst_r->cf) != ndCopyMap) 94 assume(n_SetMap(theImageRing->cf, dst_r->cf) == ndCopyMap); 95 96 if (theImageRing->cf != dst_r->cf) 95 97 { 98 /// TODO: there might be extreme cases where this doesn't hold... 96 99 Werror("Coefficient fields/rings must be equal"); 97 100 return NULL; 98 101 } 99 102 103 const ring save_ring = currRing; if (currRing!=tmpR) rChangeCurrRing(tmpR); // due to kStd 104 100 105 if (id==NULL) 101 106 j = 0; … … 123 128 temp1->m[i] = p; 124 129 } 125 id Test(temp1);130 id_Test(temp1, tmpR); 126 131 for (i=sourcering->N;i<sourcering->N+j0;i++) 127 132 { … … 137 142 } 138 143 // we ignore here homogenity - may be changed later: 144 139 145 temp2 = kStd(temp1,NULL,isNotHomog,NULL); 146 140 147 id_Delete(&temp1,tmpR); 141 148 for (i=0;i<IDELEMS(temp2);i++) … … 167 174 id_Delete(&temp2, tmpR); 168 175 idSkipZeroes(temp1); 176 177 if (currRing!=save_ring) rChangeCurrRing(save_ring); 178 169 179 rDelete(tmpR); 170 180 return temp1; -
libpolys/polys/ext_fields/algext.cc
r4d94c97 rda0565 705 705 /* dst is expected to be an algebraic field extension */ 706 706 assume(getCoeffType(dst) == ID); 707 708 if( src == dst ) return ndCopyMap; 707 709 708 710 int h = 0; /* the height of the extension tower given by dst */ -
libpolys/polys/ext_fields/transext.cc
r4d94c97 rda0565 1217 1217 assume(getCoeffType(dst) == ID); 1218 1218 1219 if( src == dst ) return ndCopyMap; 1220 1219 1221 int h = 0; /* the height of the extension tower given by dst */ 1220 1222 coeffs bDst = nCoeff_bottom(dst, h); /* the bottom field in the tower dst */
Note: See TracChangeset
for help on using the changeset viewer.