Changeset 62dd9b in git for kernel/ideals.cc


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
File:
1 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));
Note: See TracChangeset for help on using the changeset viewer.