Changeset 6e66d2 in git
- Timestamp:
- Apr 26, 2011, 9:50:17 PM (12 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- ad443e05c5a0a8d8094e178a420b4bc322c757c0
- Parents:
- 4be94358d35989a4285e3c28d99bc11c43898790
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/p_polys.cc
r4be9435 r6e66d2 200 200 201 201 assume( c >= 0 ); 202 const int limit = o->data.is.limit;203 204 assume( limit >= 0 );205 202 206 203 // Let's simulate case ro_syz above.... … … 209 206 210 207 assume( pVarOffset != NULL ); 211 212 if( c > limit )213 p->exp[o->data.isTemp.start] = 1;214 else215 {216 p->exp[o->data.isTemp.start] = 0;217 }218 208 219 209 // TODO: Can this be done in the suffix??? … … 229 219 } 230 220 } 231 232 233 221 234 222 #ifndef NDEBUG 235 223 for( int i = 1; i <= r->N; i++ ) // No v[0] here!!! … … 242 230 } 243 231 } 244 232 #endif 233 234 #ifndef NDEBUG 245 235 #if MYTEST 246 // if( p->exp[o->data.isTemp.start] > 0 ) 247 // { 248 // PrintS("Initial Value: "); p_DebugPrint(p, r, r, 1); 249 // } 250 #endif 251 #endif 252 236 PrintS("Initial Value: "); p_DebugPrint(p, r, r, 1); 237 #endif 238 #endif 253 239 break; 254 240 } … … 275 261 #ifndef NDEBUG 276 262 #if MYTEST 277 Print(" is ord in rSetm: pos: %d, c: %d,limit: %d\n", c, pos, limit); // p_DebugPrint(p, r, r, 1);263 Print("p_Setm_General: ro_is : in rSetm: pos: %d, c: %d > limit: %d\n", c, pos, limit); // p_DebugPrint(p, r, r, 1); 278 264 #endif 279 265 #endif … … 296 282 297 283 284 assume(pp != NULL); 298 285 if(pp == NULL) break; 299 286 … … 302 289 303 290 assume(start <= end); 304 assume(pp != NULL); 291 292 // const int limit = o->data.is.limit; 293 assume( limit >= 0 ); 294 295 // const int st = o->data.isTemp.start; 296 297 if( c > limit ) 298 p->exp[start] = 1; 299 // else 300 // p->exp[start] = 0; 301 302 303 #ifndef NDEBUG 304 Print("p_Setm_General: is(-Temp-) :: c: %d, limit: %d, [st:%d] ===>>> %d\n", c, limit, start, p->exp[start]); 305 #endif 306 305 307 306 308 for( int i = start; i <= end; i++) // v[0] may be here... 307 309 p->exp[i] += pp->exp[i]; // !!!!!!!! ADD corresponding LT(F) 308 310 311 312 313 309 314 #ifndef NDEBUG 310 315 const int* const pVarOffset = o->data.is.pVarOffset; … … 338 343 if( vo != -1 ) 339 344 p->exp[vo] = c; // initial component v[0]! 345 346 #ifndef NDEBUG 347 #if MYTEST 348 Print("p_Setm_General: ro_is :: c: %d <= limit: %d, vo: %d, exp: %d\n", c, limit, vo, p->exp[vo]); 349 p_DebugPrint(p, r, r, 1); 350 #endif 351 #endif 340 352 } 353 341 354 342 355 break; -
kernel/ring.cc
r4be9435 r6e66d2 2801 2801 { 2802 2802 #ifndef NDEBUG 2803 dReportError("Error: unhandled ordering in rModifyRing: ringorder_S = [%d]", r_ord);2803 Warn("Error: unhandled ordering in rModifyRing: ringorder_S = [%d]", r_ord); 2804 2804 #endif 2805 2805 order[j]=r_ord; /*r->order[i];*/ … … 2856 2856 if (omit_comp) 2857 2857 { 2858 dReportError("Error: WRONG USAGE of rModifyRing: cannot omit component due to the ordering block [%d]: %d (ringorder_IS)", i, r_ord); 2858 #ifndef NDEBUG 2859 Warn("Error: WRONG USAGE of rModifyRing: cannot omit component due to the ordering block [%d]: %d (ringorder_IS)", i, r_ord); 2860 #endif 2859 2861 omit_comp = FALSE; 2860 2862 }
Note: See TracChangeset
for help on using the changeset viewer.