Changeset 90fd58 in git


Ignore:
Timestamp:
Jul 22, 2005, 6:22:11 PM (19 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
55d94ae682ab4c4acbec40000c5a68953583c3ce
Parents:
47018f5d3eebbd9405c80f8b587e0c7c69bfa162
Message:
*levandov: some explicit casts to int for IA64, allowing noncomm slimgb


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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r47018f5 r90fd58  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.368 2005-06-02 12:54:41 bricken Exp $ */
     4/* $Id: iparith.cc,v 1.369 2005-07-22 16:22:09 levandov Exp $ */
    55
    66/*
     
    15691569  int d=-1;
    15701570  int i;
    1571   for(i=IDELEMS(I);i>=0;i--) d=si_max(d,pDegW(I->m[i],iv));
     1571  for(i=IDELEMS(I);i>=0;i--) d=si_max(d,(int)pDegW(I->m[i],iv));
    15721572  omFreeSize((ADDRESS)iv,(pVariables+1)*sizeof(short));
    15731573  res->data = (char *)d;
     
    31563156  int i;
    31573157  for(i=IDELEMS(I);i>=0;i--)
    3158     if (I->m[i]!=NULL) d=si_max(d,pLDeg(I->m[i],&dummy,currRing));
     3158    if (I->m[i]!=NULL) d=si_max(d,(int)pLDeg(I->m[i],&dummy,currRing));
    31593159  res->data = (char *)d;
    31603160  return FALSE;
     
    44814481,{jjROWS_IV,    ROWS_CMD,        INT_CMD,        INTMAT_CMD     ALLOW_PLURAL}
    44824482,{jjCOUNT_IV,   ROWS_CMD,        INT_CMD,        INTVEC_CMD     ALLOW_PLURAL}
    4483 ,{jjSLIM_GB,    SLIM_GB_CMD,     IDEAL_CMD,      IDEAL_CMD      NO_PLURAL}
    4484 ,{jjSLIM_GB,    SLIM_GB_CMD,     MODUL_CMD,      MODUL_CMD      NO_PLURAL}
     4483,{jjSLIM_GB,    SLIM_GB_CMD,     IDEAL_CMD,      IDEAL_CMD      ALLOW_PLURAL}
     4484,{jjSLIM_GB,    SLIM_GB_CMD,     MODUL_CMD,      MODUL_CMD      ALLOW_PLURAL}
    44854485,{jjSort_Id,    SORTVEC_CMD,     INTVEC_CMD,     IDEAL_CMD      ALLOW_PLURAL}
    44864486,{jjSort_Id,    SORTVEC_CMD,     INTVEC_CMD,     MODUL_CMD      ALLOW_PLURAL}
     
    56165616          return TRUE;
    56175617        }
    5618         rank=si_max(rank,pMaxComp(p));
     5618        rank=si_max(rank,(int)pMaxComp(p));
    56195619        break;
    56205620      }
  • Singular/ipassign.cc

    r47018f5 r90fd58  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipassign.cc,v 1.77 2005-07-07 11:21:23 Singular Exp $ */
     4/* $Id: ipassign.cc,v 1.78 2005-07-22 16:22:10 levandov Exp $ */
    55
    66/*
     
    14661466            lm->m[i]=(poly)t.CopyD(etyp);
    14671467            pNormalize(lm->m[i]);
    1468             if (module_assign) rk=si_max(rk,pMaxComp(lm->m[i]));
     1468            if (module_assign) rk=si_max(rk,(int)pMaxComp(lm->m[i]));
    14691469            i++;
    14701470          }
     
    14791479            {
    14801480              j = si_min(num,rm->cols());
    1481               rk=si_max(rk,rm->rank);
     1481              rk=si_max(rk,(int)rm->rank);
    14821482            }
    14831483            else
  • Singular/lists.cc

    r47018f5 r90fd58  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: lists.cc,v 1.28 2005-05-20 15:55:52 Singular Exp $ */
     4/* $Id: lists.cc,v 1.29 2005-07-22 16:22:11 levandov Exp $ */
    55/*
    66* ABSTRACT: handling of the list type
     
    244244          else
    245245          {
    246             r[i]->rank=si_max(rank,idRankFreeModule(r[i]));
     246            r[i]->rank=si_max(rank,(int)idRankFreeModule(r[i]));
    247247          }
    248248          idSkipZeroes(r[i]);
Note: See TracChangeset for help on using the changeset viewer.