Changeset 62dd9b in git for kernel/ideals.cc
- Timestamp:
- Apr 16, 2004, 7:18:35 PM (20 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 3a8dcadcb2b64d9b9db3416a310c9a32d157e00c
- Parents:
- 75ea15580cfe981176e90e903ade35b81d886205
- File:
-
- 1 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));
Note: See TracChangeset
for help on using the changeset viewer.