Changeset 192b522 in git
- Timestamp:
- Mar 17, 2005, 3:14:17 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- af32959658524cfa503a6d6068cc8a81f5c9e184
- Parents:
- 42d5aa6a6beb385d8854055d86c22cf5fd0d3670
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/syz.cc
r42d5aa r192b522 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: syz.cc,v 1. 7 2005-02-17 09:42:22Singular Exp $ */4 /* $Id: syz.cc,v 1.8 2005-03-17 14:14:17 Singular Exp $ */ 5 5 6 6 /* … … 781 781 } 782 782 } 783 if (idHomModule(res[0],currQuotient,&w)!=isHomog)784 {785 Warn("betti-command: Input is not homogeneous!");786 weights=NULL;787 }783 //if (idHomModule(res[0],currQuotient,&w)!=isHomog) 784 //{ 785 // Warn("betti-command: Input is not homogeneous!"); 786 // weights=NULL; 787 //} 788 788 if (weights==NULL) weights=w; 789 789 else delete w; … … 791 791 while ((r0_len>0) && (res[0]->m[r0_len-1]==NULL)) r0_len--; 792 792 #ifdef SHOW_W 793 PrintS("weights:");if (weights!=NULL) weights->show(); else Print("NULL"); P 794 rintLn(); 793 PrintS("weights:");if (weights!=NULL) weights->show(); else Print("NULL"); PrintLn(); 795 794 #endif 796 795 int rkl=l = si_max(idRankFreeModule(res[0]),res[0]->rank); … … 848 847 { 849 848 IMATELEM((*result),(-mr)+(*weights)[j]+1,1) ++; 850 // 849 //Print("imat(%d,%d)++ -> %d\n",(-mr)+(*weights)[j]+1, 1, IMATELEM((*result),(-mr)+(*weights)[j]+1,1)); 851 850 } 852 851 } … … 873 872 for(j=0;j<=rows+mr;j++) 874 873 { 875 // 874 //Print("tocancel[%d]=%d imat(%d,%d)=%d\n",j,tocancel[j],(-mr)+j+1,1,IMATELEM((*result),(-mr)+j+1,1)); 876 875 IMATELEM((*result),(-mr)+j+1,1) -= tocancel[j]; 877 876 }
Note: See TracChangeset
for help on using the changeset viewer.