Changeset 895f38 in git
- Timestamp:
- Dec 9, 2006, 3:23:11 PM (17 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 6a1cda546dc1b384b024ff7eeb708681672c654d
- Parents:
- e929b20c0a94aac14a96c4ce986dd6b9d7a2553d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kutil.cc
re929b2 r895f38 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.3 8 2006-12-08 17:50:55Singular Exp $ */4 /* $Id: kutil.cc,v 1.39 2006-12-09 14:23:11 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 1459 1459 if(pHasNotCF(p,strat->S[i])) 1460 1460 { 1461 //PrintS("prod-crit\n");1462 1461 if (!rIsPluralRing(currRing)) 1463 1462 { 1463 //PrintS("prod-crit\n"); 1464 1464 strat->cp++; 1465 1465 return; … … 1493 1493 /*- compute the short s-polynomial -*/ 1494 1494 1495 Lp.p = ksCreateShortSpoly(strat->S[i],p,strat->tailRing); 1495 #ifdef HAVE_PLURAL 1496 if (rIsPluralRing(currRing)) 1497 { 1498 Lp.p = nc_CreateShortSpoly(strat->S[i],p); 1499 } 1500 else 1501 #endif 1502 Lp.p = ksCreateShortSpoly(strat->S[i],p,strat->tailRing); 1496 1503 if (Lp.p == NULL) 1497 1504 { 1505 //PrintS("short spoly==NULL\n"); 1498 1506 pLmFree(Lp.lcm); 1499 1507 } … … 2562 2570 } 2563 2571 } 2564 j=pos; 2565 loop 2566 { 2567 unsigned long h_sev = pGetShortExpVector(h); 2568 if (j > k) break; 2569 clearS(h,h_sev,&j,&k,strat); 2570 j++; 2572 #ifdef HAVE_PLURAL 2573 if (!rIsPluralRing(currRing)) 2574 #endif 2575 { 2576 j=pos; 2577 loop 2578 { 2579 unsigned long h_sev = pGetShortExpVector(h); 2580 if (j > k) break; 2581 clearS(h,h_sev,&j,&k,strat); 2582 j++; 2583 } 2571 2584 } 2572 2585 } … … 4437 4450 if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 4438 4451 else i=setmaxT; 4439 i=((i+IDELEMS(F)+ 15)/16)*16;4452 i=((i+IDELEMS(F)+IDELEMS(P)+15)/16)*16; 4440 4453 strat->ecartS=initec(i); 4441 4454 strat->sevS=initsevS(i);
Note: See TracChangeset
for help on using the changeset viewer.