Changeset 62dd9b in git


Ignore:
Timestamp:
Apr 16, 2004, 7:18:35 PM (20 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
3a8dcadcb2b64d9b9db3416a310c9a32d157e00c
Parents:
75ea15580cfe981176e90e903ade35b81d886205
Message:
*levandov: int conversions for IA64


git-svn-id: file:///usr/local/Singular/svn/trunk@7132 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r75ea15 r62dd9b  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    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 $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    13951395    return result;
    13961396  }
    1397   k=si_max(1,idRankFreeModule(h1));
     1397  k=si_max(1,(int)idRankFreeModule(h1));
    13981398
    13991399  assume(currRing != NULL);
     
    15621562  if (idIs0(h1))
    15631563    return idInit(1,h1->rank);
    1564   k=si_max(1,idRankFreeModule(h1));
     1564  k=si_max(1,(int)idRankFreeModule(h1));
    15651565
    15661566  ring orig_ring=currRing;
     
    18941894void idLiftW(ideal P,ideal Q,int n,matrix &T, ideal &R,short *w)
    18951895{
    1896   int N=0;
     1896  long N=0;
    18971897  int i;
    18981898  for(i=IDELEMS(Q)-1;i>=0;i--)
     
    28922892  {
    28932893    p=F[i]=P[i];
    2894     cmax=si_max(cmax,pMaxComp(p)+1);
     2894    cmax=si_max(cmax,(int)pMaxComp(p)+1);
    28952895  }
    28962896  diff = (int *)omAlloc0(cmax*sizeof(int));
  • kernel/syz.cc

    r75ea15 r62dd9b  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz.cc,v 1.1.1.1 2003-10-06 12:15:54 Singular Exp $ */
     4/* $Id: syz.cc,v 1.2 2004-04-16 17:18:35 levandov Exp $ */
    55
    66/*
     
    402402  ideal temp=NULL;
    403403  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));
    405405  int Kstd1_OldDeg=Kstd1_deg;
    406406  BOOLEAN completeMinim;
  • kernel/syz1.cc

    r75ea15 r62dd9b  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz1.cc,v 1.4 2004-02-12 14:21:18 Singular Exp $ */
     4/* $Id: syz1.cc,v 1.5 2004-04-16 17:18:35 levandov Exp $ */
    55/*
    66* ABSTRACT: resolutions
     
    17871787    result=new intvec(j,jj-sh,0);
    17881788    IMATELEM(*result,1,1)
    1789       = si_max(1,idRankFreeModule(syzstr->res[1],
     1789      = si_max(1,(int)idRankFreeModule(syzstr->res[1],
    17901790                               (syzstr->syRing!=NULL?syzstr->syRing:currRing)));
    17911791    for (i=sh;i<jj;i++)
     
    19431943      SRes rP=syzstr->resPairs;
    19441944      (*syzstr->resolution)[0]
    1945         = si_max(1,idRankFreeModule(syzstr->res[1],
     1945        = si_max(1,(int)idRankFreeModule(syzstr->res[1],
    19461946                                 (syzstr->syRing != NULL ? syzstr->syRing : currRing)));
    19471947      while ((l<syzstr->length) && (rP[l]!=NULL))
     
    19671967        rr = syzstr->fullres;
    19681968      (*syzstr->resolution)[0]
    1969         = si_max(1,idRankFreeModule(rr[0],
     1969        = si_max(1,(int)idRankFreeModule(rr[0],
    19701970                                 (syzstr->syRing != NULL ? syzstr->syRing : currRing)));
    19711971      while ((l<syzstr->length) && (rr[l]!=NULL))
Note: See TracChangeset for help on using the changeset viewer.