- Timestamp:
- Jul 26, 2011, 4:40:43 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- bf6a4d5920ef44ffb48d0fc83b4d53589111d60c
- Parents:
- b28bafedafd8d93bd2ff41d9466d46678bec1341
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-07-26 16:40:43+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:53:35+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
rb28bafe r441a2e 543 543 p = pCopy(tempstd->m[j]); 544 544 else 545 p = prCopyR(tempstd->m[j], syz_ring );545 p = prCopyR(tempstd->m[j], syz_ring,currRing); 546 546 p_Shift(&p,-syzComp-isIdeal,currRing); 547 547 result->m[k] = p; … … 694 694 assume(currRing != NULL); 695 695 ring orig_ring=currRing; 696 ring syz_ring=rAssure_SyzComp(orig_ring .TRUE);696 ring syz_ring=rAssure_SyzComp(orig_ring,TRUE); 697 697 rChangeCurrRing(syz_ring); 698 698 … … 702 702 if (orig_ring != syz_ring) 703 703 { 704 s_h1=idrCopyR_NoSort(h1,orig_ring );704 s_h1=idrCopyR_NoSort(h1,orig_ring,syz_ring); 705 705 } 706 706 else … … 774 774 ) 775 775 { 776 ring dp_C_ring = r CurrRingAssure_dp_C();776 ring dp_C_ring = rAssure_dp_C(syz_ring); 777 777 if (dp_C_ring != syz_ring) 778 { 779 rChangeCurrRing(dp_C_ring); 778 780 e = idrMoveR_NoSort(e, syz_ring, dp_C_ring); 781 } 779 782 resolvente res = sySchreyerResolvente(e,-1,&length,TRUE, TRUE); 780 783 intvec * dummy = syBetti(res,length,®, *w); … … 824 827 if (orig_ring != syz_ring) 825 828 { 826 s_h1=idrCopyR_NoSort(h1,orig_ring );829 s_h1=idrCopyR_NoSort(h1,orig_ring, syz_ring); 827 830 } 828 831 else … … 898 901 899 902 if (orig_ring != syz_ring) 900 s_h1 = idrCopyR_NoSort(h1,orig_ring );903 s_h1 = idrCopyR_NoSort(h1,orig_ring,syz_ring); 901 904 else 902 905 s_h1 = h1; … … 1106 1109 if (orig_ring != syz_ring) 1107 1110 { 1108 s_mod = idrCopyR_NoSort(mod,orig_ring );1109 s_temp = idrCopyR_NoSort(submod,orig_ring );1111 s_mod = idrCopyR_NoSort(mod,orig_ring,syz_ring); 1112 s_temp = idrCopyR_NoSort(submod,orig_ring,syz_ring); 1110 1113 } 1111 1114 else … … 1288 1291 if(pDivisibleBy(Q->m[j],p)) 1289 1292 { 1290 poly p0=p DivideM(pHead(p),pHead(Q->m[j]));1293 poly p0=p_DivideM(pHead(p),pHead(Q->m[j]),currRing); 1291 1294 if(w==NULL) 1292 1295 p=pJet(pSub(p,ppMult_mm(Q->m[j],p0)),N); … … 1460 1463 1461 1464 ring orig_ring=currRing; 1462 ring syz_ring=rAssure_SyzComp(orig_ring .TRUE);1465 ring syz_ring=rAssure_SyzComp(orig_ring,TRUE); 1463 1466 rChangeCurrRing(syz_ring); 1464 1467 rSetSyzComp(kmax-1,syz_ring); … … 1806 1809 } 1807 1810 } 1808 p = mp DetBareiss(tmp);1811 p = mp_DetBareiss(tmp,currRing); 1809 1812 if (p!=NULL) 1810 1813 { … … 1870 1873 } 1871 1874 } 1872 p = mp DetBareiss(tmp);1875 p = mp_DetBareiss(tmp,vcurrRing); 1873 1876 if (p!=NULL) 1874 1877 { … … 1933 1936 return NULL; 1934 1937 } 1935 h = idMatrix2Module(mp Copy(a));1936 bound = sm ExpBound(h,c,r,ar);1938 h = idMatrix2Module(mp_Copy(a,currRing)); 1939 bound = sm_ExpBound(h,c,r,ar,currRing); 1937 1940 idDelete(&h); 1938 tmpR=sm RingChange(&origR,bound);1941 tmpR=sm_RingChange(origR,bound); 1939 1942 b = mpNew(r,c); 1940 1943 for (i=r*c-1;i>=0;i--) 1941 1944 { 1942 1945 if (a->m[i]) 1943 b->m[i] = prCopyR(a->m[i],origR );1946 b->m[i] = prCopyR(a->m[i],origR,currRing); 1944 1947 } 1945 1948 if (R!=NULL) 1946 1949 { 1947 R = idrCopyR(R,origR );1950 R = idrCopyR(R,origR,currRing); 1948 1951 //if (ar>1) // otherwise done in mpMinorToResult 1949 1952 //{ … … 1960 1963 idSkipZeroes(result); 1961 1964 rChangeCurrRing(origR); 1962 result = idrMoveR(result,tmpR );1965 result = idrMoveR(result,tmpR,origR); 1963 1966 smKillModifiedRing(tmpR); 1964 1967 idTest(result);
Note: See TracChangeset
for help on using the changeset viewer.