Changeset bead81 in git
- Timestamp:
- Apr 20, 2010, 6:11:58 PM (13 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- c11951e6cc1b26a68bd26f0429981f14de14a185
- Parents:
- 0ddbd9dc2626d64cdc92707919db795de0211cab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r0ddbd9 rbead81 74 74 { 75 75 assume( debugPrint >= 0 ); 76 76 77 77 if( id == NULL ) 78 78 PrintS("(NULL)"); … … 1380 1380 } 1381 1381 h2->rank = syzcomp+i+1; 1382 1382 1383 1383 //if (hom==testHomog) 1384 1384 //{ … … 1725 1725 (*syz)->m[j]=s_h3->m[j]; 1726 1726 s_h3->m[j]=NULL; 1727 } 1727 } 1728 1728 else 1729 1729 pDelete(&(s_h3->m[j])); … … 1846 1846 return idInit(1,mod->rank); 1847 1847 } 1848 if (idIs0(mod)) 1849 { 1848 if (idIs0(mod)) /* and not idIs0(submod) */ 1849 { 1850 WerrorS("2nd module does not lie in the first"); 1851 #if 0 1850 1852 if (unit!=NULL) 1851 1853 { … … 1862 1864 } 1863 1865 return idInit(1,mod->rank); 1866 #endif 1867 return idInit(IDELEMS(submod),submod->rank); 1864 1868 } 1865 1869 if (unit!=NULL) … … 1869 1873 comps_to_add--; 1870 1874 } 1871 k= idRankFreeModule(mod);1875 k=si_max(idRankFreeModule(mod),idRankFreeModule(submod)); 1872 1876 if ((k!=0) && (lsmod==0)) lsmod=1; 1873 1877 k=si_max(k,(int)mod->rank); 1878 if (k<submod->rank) { WarnS("rk(submod) > rk(mod) ?");k=submod->rank; } 1874 1879 1875 1880 ring orig_ring=currRing; … … 3143 3148 if (pLexOrder && (currRing->order[0]==ringorder_lp)) 3144 3149 d=pTotaldegree; 3145 else 3150 else 3146 3151 d=pFDeg; 3147 3152 int length=IDELEMS(m);
Note: See TracChangeset
for help on using the changeset viewer.