Changeset b44f5e in git
- Timestamp:
- Aug 3, 2011, 3:02:20 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 40a8236485de17ffaad0e50dc3dd0aecaa4af34d
- Parents:
- 47e836b597c497e01425bb356b2bcd597f62746f
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 15:02:20+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:11:35+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/syz.cc
r47e836b rb44f5e 858 858 for (i=0;i<cols-1;i++) 859 859 { 860 if ((i==0) && (weights!=NULL)) p SetModDeg(weights);860 if ((i==0) && (weights!=NULL)) p_SetModDeg(weights, currRing); 861 861 memset(temp2,0,(l+1)*sizeof(int)); 862 862 for (j=0;j<IDELEMS(res[i]);j++) … … 877 877 } 878 878 } 879 if ((i==0) && (weights!=NULL)) p SetModDeg(NULL);879 if ((i==0) && (weights!=NULL)) p_SetModDeg(NULL, currRing); 880 880 temp3 = temp1; 881 881 temp1 = temp2; … … 912 912 { 913 913 memset(temp2,0,l*sizeof(int)); 914 p SetModDeg(weights);914 p_SetModDeg(weights, currRing); 915 915 } 916 916 else 917 917 memset(temp2,0,l*sizeof(int)); 918 918 int dummy = syDetect(res[0],0,TRUE,temp2,tocancel); 919 if (weights!=NULL) p SetModDeg(NULL);919 if (weights!=NULL) p_SetModDeg(NULL, currRing); 920 920 if (tomin) 921 921 { … … 929 929 for (i=0;i<cols-1;i++) 930 930 { 931 if ((i==0) && (weights!=NULL)) p SetModDeg(weights);931 if ((i==0) && (weights!=NULL)) p_SetModDeg(weights, currRing); 932 932 memset(temp2,0,l*sizeof(int)); 933 933 for (j=0;j<IDELEMS(res[i]);j++) … … 972 972 if ((IMATELEM((*result),j+1,i+2)!=0) && (j>*regularity)) *regularity = j; 973 973 } 974 if ((i==0) && (weights!=NULL)) p SetModDeg(NULL);974 if ((i==0) && (weights!=NULL)) p_SetModDeg(NULL, currRing); 975 975 } 976 976 // Print("nach minim:\n"); result->show(); PrintLn();
Note: See TracChangeset
for help on using the changeset viewer.