Changeset 9f5fca in git for kernel/kspoly.cc
- Timestamp:
- Dec 10, 2008, 8:48:51 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 18c24555fbf92664b228c6d8d5ea653490aef960
- Parents:
- 1dfd7613337c8c2ac8c4636dda564d8899289dbd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kspoly.cc
r1dfd761 r9f5fca 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kspoly.cc,v 1.1 5 2008-06-25 11:27:31 SingularExp $ */4 /* $Id: kspoly.cc,v 1.16 2008-12-10 19:48:51 levandov Exp $ */ 5 5 /* 6 6 * ABSTRACT - Routines for Spoly creation and reductions … … 138 138 assume(PW->GetpLength() == pLength(PW->p != NULL ? PW->p : PW->t_p)); 139 139 PR->LmDeleteAndIter(); 140 141 // the following is commented out: shrinking 142 #ifdef HAVE_SHIFTBBA_NONEXISTENT 143 if ( (currRing->isLPring) && (!strat->homog) ) 144 { 145 // assume? h->p in currRing 146 PR->GetP(); 147 poly qq = p_Shrink(PR->p, currRing->isLPring, currRing); 148 PR->Clear(); // does the right things 149 PR->p = qq; 150 PR->t_p = NULL; 151 PR->SetShortExpVector(); 152 } 153 #endif 154 140 155 #if defined(KDEBUG) && defined(TEST_OPT_DEBUG_RED) 141 156 if (TEST_OPT_DEBUG) … … 251 266 } 252 267 } 268 269 // the following is commented out: shrinking 270 #ifdef HAVE_SHIFTBBA_NONEXISTENT 271 if (currRing->isLPring) 272 { 273 // assume? h->p in currRing 274 Pair->GetP(); 275 poly qq = p_Shrink(Pair->p, currRing->isLPring, currRing); 276 Pair->Clear(); // does the right things 277 Pair->p = qq; 278 Pair->t_p = NULL; 279 Pair->SetShortExpVector(); 280 } 281 #endif 282 253 283 } 254 284 … … 291 321 if (Lp == Save) 292 322 With.Delete(); 323 324 // the following is commented out: shrinking 325 #ifdef HAVE_SHIFTBBA_NONEXISTENT 326 if (currRing->isLPring) 327 { 328 // assume? h->p in currRing 329 PR->GetP(); 330 poly qq = p_Shrink(PR->p, currRing->isLPring, currRing); 331 PR->Clear(); // does the right things 332 PR->p = qq; 333 PR->t_p = NULL; 334 PR->SetShortExpVector(); 335 } 336 #endif 337 293 338 return ret; 294 339 }
Note: See TracChangeset
for help on using the changeset viewer.