Changeset 9c0326 in git for gfanlib


Ignore:
Timestamp:
Sep 10, 2014, 5:43:31 PM (10 years ago)
Author:
Yue Ren <ren@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
b71400abefd0c9c66c0009063f40ddd5b1f1c4c7
Parents:
eacb78146504ca284c1888c739cb1aade67c8520
git-author:
Yue Ren <ren@mathematik.uni-kl.de>2014-09-10 17:43:31+02:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2015-02-06 13:47:04+01:00
Message:
chg: status update 12.09.
Location:
gfanlib
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • gfanlib/gfanlib_matrix.h

    reacb781 r9c0326  
    3939  {
    4040    Matrix ret(1,v.size());
    41     for(int i=0;i<v.size();i++)ret[0][i]=v[i];
     41    for(unsigned i=0;i<v.size();i++)ret[0][i]=v[i];
    4242    return ret;
    4343  }
     
    331331    int retSwaps=0;
    332332    int currentRow=0;
    333 
    334     if (height<2)
    335       return 0;
    336333
    337334    for(int i=0;i<width;i++)
  • gfanlib/gfanlib_vector.h

    reacb781 r9c0326  
    8585  unsigned int size()const{return v.size();};
    8686  void resize(int n){v.resize(n,typ());};
    87   void grow(int i){if(size()<i)resize(i);}
     87  void grow(int i){if((int)size()<i)resize(i);}
    8888  void push_back(typ a)
    8989  {
Note: See TracChangeset for help on using the changeset viewer.