Changeset 3a8520 in git
- Timestamp:
- Feb 26, 2009, 12:24:15 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- ec4a2c9179673f1cdc6b166e3d74834cf0f12cad
- Parents:
- 60933487e53ddb20e0e5d7d5ccc137ac53893f37
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/polys1.cc
r609334 r3a8520 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: polys1.cc,v 1.3 3 2009-02-26 11:14:16 levandovExp $ */4 /* $Id: polys1.cc,v 1.34 2009-02-26 11:24:15 Singular Exp $ */ 5 5 6 6 /* … … 1053 1053 if (h!=NULL) nDelete(&h); 1054 1054 1055 pContent(ph); 1055 1056 #ifdef HAVE_RATGRING 1056 1057 if (rIsRatGRing(currRing)) … … 1058 1059 pContentRat(ph); 1059 1060 } 1060 else1061 1061 #endif 1062 pContent(ph);1063 1062 } 1064 1063 } -
kernel/ratgring.cc
r609334 r3a8520 7 7 * Author: levandov (Viktor Levandovsky) 8 8 * Created: 8/00 - 11/00 9 * Version: $Id: ratgring.cc,v 1.1 8 2009-02-26 11:14:16 levandovExp $9 * Version: $Id: ratgring.cc,v 1.19 2009-02-26 11:24:15 Singular Exp $ 10 10 *******************************************************************/ 11 11 #include "mod2.h" … … 701 701 poly p = pCopy(ph); // ph will be needed below 702 702 int HasConstantCoef = 0; 703 int mintdeg = pTotaldegree(p);704 int minlen = len;705 703 int is = currRing->real_var_start - 1; 706 704 while (p!=NULL) … … 724 722 // look for 1 element of minimal degree and of minimal length 725 723 k--; 724 if (k<=0) // this poly is not a ratgring poly -> pContent 725 { 726 pDelete(&C[0]); 727 pDelete(&LM[0]); 728 pContent(ph); 729 goto cleanup; 730 } 731 int mintdeg = pTotaldegree(p); 726 732 int dd = 0; int i; 733 int minlen = len; 727 734 int mindeglen = len; 728 735 int pmindeglen;
Note: See TracChangeset
for help on using the changeset viewer.