Changeset 34183a in git for libpolys


Ignore:
Timestamp:
Jul 7, 2016, 3:08:59 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
a1299c28602fe2bb5ab848f4dd82bb5d10a66412c66a53f1b58e7f846551ad48a7866b06bf852f5fcd79608c61d713b22b8e9ae861168cbd02e4fab9
Parents:
382febc4b9c1d345489e23122c487898797e979d
Message:
removed idSize -> idElem/IDELEMS
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/simpleideals.cc

    r382feb r34183a  
    210210  assume (F != NULL);
    211211
    212   int i=0,j=IDELEMS(F)-1;
    213 
    214   while(j>=0)
     212  int i=0;
     213
     214  for(int j=IDELEMS(F)-1;j>=0;j--)
    215215  {
    216216    if ((F->m)[j]!=NULL) i++;
    217     j--;
    218217  }
    219218  return i;
Note: See TracChangeset for help on using the changeset viewer.