Changeset 0b4ec2 in git
- Timestamp:
- Feb 23, 2009, 12:26:29 PM (14 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- e5408173a819cf24009069d4443ae2c98be47c45
- Parents:
- 05eb8c338d5239a2e038f0b776772d795b3ac14e
- Location:
- kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gr_kstd2.cc
r05eb8c r0b4ec2 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: gr_kstd2.cc,v 1.2 7 2009-02-22 11:22:08Singular Exp $ */4 /* $Id: gr_kstd2.cc,v 1.28 2009-02-23 11:26:29 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: noncomm. alg. of Buchberger … … 170 170 if (p==NULL) return; 171 171 poly root=p; 172 assume( currRing->real_var_start>0);172 assume(rIsRatGRing(currRing)); 173 173 poly f=pHead(p); 174 174 int i; … … 981 981 strat->red = redGrFirst; 982 982 #ifdef HAVE_RATGRING 983 if ( currRing->real_var_start>0)983 if (rIsRatGRing(currRing)) 984 984 { 985 985 int ii=IDELEMS(F)-1; … … 1074 1074 nc_gr_initBba(F,strat); 1075 1075 initBuchMoraPos(strat); 1076 if ( currRing->real_var_start>0)1076 if (rIsRatGRing(currRing)) 1077 1077 { 1078 1078 strat->posInL=posInL0; // by pCmp of lcm -
kernel/kutil.cc
r05eb8c r0b4ec2 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.12 2 2009-02-23 10:59:20Singular Exp $ */4 /* $Id: kutil.cc,v 1.123 2009-02-23 11:26:29 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 160 160 { 161 161 #ifdef HAVE_PLURAL 162 if ( currRing->real_var_start>0)162 if (rIsRatGRing(currRing)) 163 163 { 164 164 if (_p_LmDivisibleByPart(p,currRing, … … 2296 2296 if (new_pair) 2297 2297 { 2298 #ifdef HAVE_PLURAL2299 if (currRing->real_var_start>0)2300 chainCritPart(h,ecart,strat);2301 else2302 #endif2303 2298 strat->chainCrit(h,ecart,strat); 2304 2299 } … … 5548 5543 } 5549 5544 #endif 5545 #ifdef HAVE_PLURAL 5546 if (rIsRatGRing(currRing)) 5547 { 5548 strat->chainCrit=chainCritPart; 5549 } 5550 #endif 5550 5551 5551 5552 strat->sugarCrit = TEST_OPT_SUGARCRIT; -
kernel/ring.h
r05eb8c r0b4ec2 7 7 * ABSTRACT - the interpreter related ring operations 8 8 */ 9 /* $Id: ring.h,v 1. 39 2009-02-22 11:22:08Singular Exp $ */9 /* $Id: ring.h,v 1.40 2009-02-23 11:26:29 Singular Exp $ */ 10 10 11 11 /* includes */ … … 48 48 #ifdef HAVE_PLURAL 49 49 nc_struct *n; 50 return (r != NULL) && ((n=r->GetNC()) != NULL)50 return (r != NULL) /* && ((n=r->GetNC()) != NULL) */ 51 51 && (r->real_var_start>1); 52 52 #else
Note: See TracChangeset
for help on using the changeset viewer.