Changeset f7286a in git for libpolys/polys
- Timestamp:
- Oct 31, 2012, 3:12:54 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 880433df635f3b50ff607d57901f88cba3333ebd
- Parents:
- 6a05fd20a1813f28c0b8400fef5f3d7026c6334c
- Location:
- libpolys/polys
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r6a05fd rf7286a 158 158 const poly num = NUM(t); 159 159 assume(num != NULL); /**< t != 0 ==> numerator(t) != 0 */ 160 assume( p_Test(num, ntRing) );160 assume( _p_Test(num, ntRing,1) ); 161 161 162 162 const poly den = DEN(t); … … 164 164 if (den != NULL) // !DENIS1(f) 165 165 { 166 assume( p_Test(den, ntRing) );166 assume( _p_Test(den, ntRing,1) ); 167 167 168 168 if(p_IsConstant(den, ntRing) && (n_IsOne(pGetCoeff(den), ntRing->cf))) -
libpolys/polys/polys0.cc
r6a05fd rf7286a 150 150 while (p!=NULL) 151 151 { 152 assume(!n_IsZero(p->coef,tailRing->cf)); 152 153 if ((p->coef==NULL)||n_GreaterZero(p->coef,tailRing->cf)) 153 154 StringAppendS("+"); -
libpolys/polys/prCopy.cc
r6a05fd rf7286a 144 144 { 145 145 if (id == NULL) return NULL; 146 assume(src_r->cf==dest_r->cf); 146 147 poly p; 147 148 ideal res = idInit(IDELEMS(id), id->rank); … … 159 160 ideal idrCopyR(ideal id, ring src_r, ring dest_r) 160 161 { 162 assume(src_r->cf==dest_r->cf); 161 163 ideal res; 162 164 prCopyProc_t prproc; … … 171 173 ideal idrCopyR_NoSort(ideal id, ring src_r, ring dest_r) 172 174 { 175 assume(src_r->cf==dest_r->cf); 173 176 ideal res; 174 177 prCopyProc_t prproc; … … 198 201 idrMove(ideal &id, ring src_r, ring dest_r, prCopyProc_t prproc) 199 202 { 203 assume(src_r->cf==dest_r->cf); 200 204 if (id == NULL) return NULL; 201 205 ideal res = id; … … 210 214 ideal idrMoveR(ideal &id, ring src_r, ring dest_r) 211 215 { 216 assume(src_r->cf==dest_r->cf); 212 217 prCopyProc_t prproc; 213 218 ideal res; … … 222 227 ideal idrMoveR_NoSort(ideal &id, ring src_r, ring dest_r) 223 228 { 229 assume(src_r->cf==dest_r->cf); 224 230 prCopyProc_t prproc; 225 231 ideal res; -
libpolys/polys/prCopyTemplate.cc
r6a05fd rf7286a 10 10 (poly &src, ring r_src, ring r_dest) 11 11 { 12 if (src==NULL) return NULL; 12 13 spolyrec dest_s; 13 14 poly dest = &dest_s; … … 30 31 p_Test(dest, r_dest); 31 32 return dest; 32 (void)(r_src);33 33 }
Note: See TracChangeset
for help on using the changeset viewer.