Changeset 342c80 in git for kernel/gr_kstd2.cc
- Timestamp:
- Jul 29, 2008, 2:38:52 PM (15 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 36b9efc4d8a1bd0251f35066f946290b49d1bced
- Parents:
- d42b51540898000893023b8114f71bad09c3c7c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gr_kstd2.cc
rd42b51 r342c80 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: gr_kstd2.cc,v 1.2 1 2008-07-29 07:48:01Singular Exp $ */4 /* $Id: gr_kstd2.cc,v 1.22 2008-07-29 12:38:52 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: noncomm. alg. of Buchberger … … 28 28 #include "gring.h" 29 29 #include "sca.h" 30 #include "ratgring.h" 30 31 31 32 #if 0 … … 298 299 } 299 300 #endif 300 if ((c_j ==-1)||(c_e>=0))301 if ((c_j<0)||(c_e>=0)) 301 302 { 302 303 c_e=-1; c_j=j; … … 317 318 } 318 319 #endif 319 if ((c_ e==-1)||(c_e>a_e))320 if ((c_j<0)||(c_e>a_e)) 320 321 { 321 322 c_e=a_e; c_j=j; 322 323 pDelete(&c_p); 323 c_p = nc_CreateSpoly(pCopy(strat->S[c_j]),pCopy((*h).p), currRing); 324 //c_p = nc_CreateSpoly(pCopy(strat->S[c_j]),pCopy((*h).p), currRing); 325 c_p=nc_rat_ReduceSpolyNew(strat->S[c_j],(*h).p,currRing->real_var_start-1,currRing); 324 326 } 325 327 else if (c_e == a_e) 326 328 { 327 poly cc_pp= nc_CreateSpoly(pCopy(strat->S[j]),pCopy((*h).p), currRing); 329 //poly cc_pp= nc_CreateSpoly(pCopy(strat->S[j]),pCopy((*h).p), currRing); 330 poly cc_pp=nc_rat_ReduceSpolyNew(strat->S[c_j],(*h).p,currRing->real_var_start-1,currRing); 328 331 if (((cc_pp==NULL)&&(c_p!=NULL)) || (pCmp(cc_pp,c_p)==-1)) 329 332 {
Note: See TracChangeset
for help on using the changeset viewer.