Changeset e4f491 in git
- Timestamp:
- Feb 21, 2012, 2:28:22 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 74f51f261514079d9bce01fd1a8ffed4de458527
- Parents:
- 5c0183a7fbcc63348c4fbf0ae70d97f6d0fcb203
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-21 14:28:22+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 20:35:10+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.cc
r5c0183 re4f491 286 286 const ideal F = o->data.is.F; 287 287 const int limit = o->data.is.limit; 288 assume( limit >= 0 ); 288 289 const int start = o->data.is.start; 289 290 290 291 291 if( F != NULL && c > limit ) … … 298 298 #endif 299 299 #endif 300 // if( c > limit ) // BUG??? 301 p->exp[start] = 1; 302 // else 303 // p->exp[start] = 0; 304 300 305 301 306 c -= limit; … … 305 310 assume( c < IDELEMS(F) ); // What about others??? 306 311 312 if( c >= IDELEMS(F) ) 313 break; 314 307 315 const poly pp = F->m[c]; // get reference monomial!!! 316 317 assume(pp != NULL); 308 318 309 319 #ifndef NDEBUG … … 313 323 #endif 314 324 #endif 315 316 317 assume(pp != NULL);318 325 if(pp == NULL) break; 319 326 320 327 const int end = o->data.is.end; 321 322 328 assume(start <= end); 323 324 // const int limit = o->data.is.limit; 325 assume( limit >= 0 ); 329 326 330 327 331 // const int st = o->data.isTemp.start; 328 329 // if( c > limit ) // BUG???330 p->exp[start] = 1;331 // else332 // p->exp[start] = 0;333 334 332 335 333 #ifndef NDEBUG 336 334 Print("p_Setm_General: is(-Temp-) :: c: %d, limit: %d, [st:%d] ===>>> %ld\n", c, limit, start, p->exp[start]); 337 #endif 335 #endif 338 336 339 337 // p_ExpVectorAdd(p, pp, r);
Note: See TracChangeset
for help on using the changeset viewer.