Changeset 62dd9b in git
- Timestamp:
- Apr 16, 2004, 7:18:35 PM (20 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 3a8dcadcb2b64d9b9db3416a310c9a32d157e00c
- Parents:
- 75ea15580cfe981176e90e903ade35b81d886205
- Location:
- kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r75ea15 r62dd9b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1. 2 2004-03-25 16:50:04 levandov Exp $ */4 /* $Id: ideals.cc,v 1.3 2004-04-16 17:18:34 levandov Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 1395 1395 return result; 1396 1396 } 1397 k=si_max(1, idRankFreeModule(h1));1397 k=si_max(1,(int)idRankFreeModule(h1)); 1398 1398 1399 1399 assume(currRing != NULL); … … 1562 1562 if (idIs0(h1)) 1563 1563 return idInit(1,h1->rank); 1564 k=si_max(1, idRankFreeModule(h1));1564 k=si_max(1,(int)idRankFreeModule(h1)); 1565 1565 1566 1566 ring orig_ring=currRing; … … 1894 1894 void idLiftW(ideal P,ideal Q,int n,matrix &T, ideal &R,short *w) 1895 1895 { 1896 intN=0;1896 long N=0; 1897 1897 int i; 1898 1898 for(i=IDELEMS(Q)-1;i>=0;i--) … … 2892 2892 { 2893 2893 p=F[i]=P[i]; 2894 cmax=si_max(cmax, pMaxComp(p)+1);2894 cmax=si_max(cmax,(int)pMaxComp(p)+1); 2895 2895 } 2896 2896 diff = (int *)omAlloc0(cmax*sizeof(int)); -
kernel/syz.cc
r75ea15 r62dd9b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: syz.cc,v 1. 1.1.1 2003-10-06 12:15:54 SingularExp $ */4 /* $Id: syz.cc,v 1.2 2004-04-16 17:18:35 levandov Exp $ */ 5 5 6 6 /* … … 402 402 ideal temp=NULL; 403 403 intvec *w = NULL,**tempW; 404 int i,k,syzIndex = 0,j,rk_arg=si_max(1, idRankFreeModule(arg));404 int i,k,syzIndex = 0,j,rk_arg=si_max(1,(int)idRankFreeModule(arg)); 405 405 int Kstd1_OldDeg=Kstd1_deg; 406 406 BOOLEAN completeMinim; -
kernel/syz1.cc
r75ea15 r62dd9b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: syz1.cc,v 1. 4 2004-02-12 14:21:18 SingularExp $ */4 /* $Id: syz1.cc,v 1.5 2004-04-16 17:18:35 levandov Exp $ */ 5 5 /* 6 6 * ABSTRACT: resolutions … … 1787 1787 result=new intvec(j,jj-sh,0); 1788 1788 IMATELEM(*result,1,1) 1789 = si_max(1, idRankFreeModule(syzstr->res[1],1789 = si_max(1,(int)idRankFreeModule(syzstr->res[1], 1790 1790 (syzstr->syRing!=NULL?syzstr->syRing:currRing))); 1791 1791 for (i=sh;i<jj;i++) … … 1943 1943 SRes rP=syzstr->resPairs; 1944 1944 (*syzstr->resolution)[0] 1945 = si_max(1, idRankFreeModule(syzstr->res[1],1945 = si_max(1,(int)idRankFreeModule(syzstr->res[1], 1946 1946 (syzstr->syRing != NULL ? syzstr->syRing : currRing))); 1947 1947 while ((l<syzstr->length) && (rP[l]!=NULL)) … … 1967 1967 rr = syzstr->fullres; 1968 1968 (*syzstr->resolution)[0] 1969 = si_max(1, idRankFreeModule(rr[0],1969 = si_max(1,(int)idRankFreeModule(rr[0], 1970 1970 (syzstr->syRing != NULL ? syzstr->syRing : currRing))); 1971 1971 while ((l<syzstr->length) && (rr[l]!=NULL))
Note: See TracChangeset
for help on using the changeset viewer.