Changeset 5416d1 in git for Singular


Ignore:
Timestamp:
Nov 14, 2022, 11:23:20 AM (17 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
96fc6774cff6a43918cd7ab4d12e66e053b43e91
Parents:
317c1453d644836d66288dc2a633068067f64ab7
Message:
compiler warnings
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/cohomo/cohomo.cc

    r317c14 r5416d1  
    4949void listprint(std::vector<int> vec)
    5050{
    51   int i;
     51  unsigned i;
    5252  for(i=0;i<vec.size();i++)
    5353  {
     
    6565void listsprint(std::vector<std::vector<int> > posMat)
    6666{
    67   int i,j;
     67  unsigned i;
    6868  for(i=0;i<posMat.size();i++)
    6969  {
     
    9797void lpprint( std::vector<poly> pv)
    9898{
    99   for(int i=0;i<pv.size();i++)
     99  for(unsigned i=0;i<pv.size();i++)
    100100  {
    101101    Print("   _[%d]=",i+1);
     
    114114void lpsprint(std::vector<std::vector<poly> > pvs)
    115115{
    116   for(int i=0;i<pvs.size();i++)
     116  for(unsigned i=0;i<pvs.size();i++)
    117117  {
    118118    Print("[%d]:\n",i+1);
     
    143143bool IsinL(int a, std::vector<int> vec)
    144144{
    145   int i;
     145  unsigned i;
    146146  for(i=0;i<vec.size();i++)
    147147  {
     
    162162std::vector<int> vecIntersection(std::vector<int> p, std::vector<int> q)
    163163{
    164   int i;
     164  unsigned i;
    165165  std::vector<int> inte;
    166166  for(i=0;i<p.size();i++)
     
    184184bool vEv(std::vector<int> vec1,std::vector<int> vec2)
    185185{
    186   int i,j, lg1=vec1.size(),lg2=vec2.size();
     186  unsigned j, lg1=vec1.size(),lg2=vec2.size();
    187187  if(lg1!=lg2)
    188188  {
     
    455455ideal idMake(std::vector<std::vector<int> > vecs)
    456456{
    457   int lv=vecs.size(), i, j;
     457  int lv=vecs.size(), i;
    458458  poly p;
    459459  ideal id_re=idInit(1,1);
     
    474474ideal idmodulo(ideal h1,ideal h2)
    475475{
    476   int i;
    477476  ideal gb=kStd(h2,NULL,testHomog,NULL,NULL,0,0,NULL);
    478477  idSkipZeroes(gb);
     
    486485int pcoef(poly p, int m)
    487486{
    488   int i,j,co; poly q=pCopy(p);
     487  int i,co; poly q=pCopy(p);
    489488  for(i=1;i<=currRing->N;i++)
    490489  {
     
    505504bool vInp(int m,poly p)
    506505{
    507   int i;
    508506  poly q=pCopy(p);
    509507  while (q!=NULL)
     
    523521std::vector<int> vMake(poly p)
    524522{
    525   int i; poly q=pCopy(p);
     523  int i;
    526524  std::vector<int> vbase;
    527525  for(i=1;i<=currRing->N;i++)
     
    559557std::vector<std::vector<int> > vecqring(std::vector<std::vector<int> > vec1, std::vector<std::vector<int> > vec2)
    560558{
    561   int i,j;
    562559  ideal h1=idMake(vec1), h2=idMake(vec2);
    563560  ideal h=idmodulo(h1,h2);
     
    31163113        pWrite(b);
    31173114        intvec *solve=gradedpiece2n(h, a, b);
    3118         delete solve;
     3115        delete solve;
    31193116        gp++;
    31203117      }
  • Singular/walk.cc

    r317c14 r5416d1  
    16321632  }
    16331633
    1634   CHECK_OVERFLOW:
     1634  //CHECK_OVERFLOW:
    16351635
    16361636  for(i=0; i<niv; i++)
     
    24012401  }
    24022402
    2403   SIMPLIFY_GCD:
     2403  //SIMPLIFY_GCD:
    24042404
    24052405  // simplify the vectors curr_weight and diff_weight (C-int)
     
    25092509  }
    25102510
    2511  TEST_OVERFLOW:
     2511 //TEST_OVERFLOW:
    25122512
    25132513  for (j=0; j<nRing; j++)
     
    72447244#endif
    72457245
    7246       FRACTAL_MSTDCC:
     7246      //FRACTAL_MSTDCC:
    72477247        if(printout > 0)
    72487248        {
     
    78177817#endif
    78187818
    7819       FRACTAL_MSTDCC:
     7819      //FRACTAL_MSTDCC:
    78207820        if(printout > 0)
    78217821        {
Note: See TracChangeset for help on using the changeset viewer.