- Timestamp:
- Sep 10, 2014, 5:43:31 PM (10 years ago)
- 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
- Location:
- gfanlib
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gfanlib/gfanlib_matrix.h
reacb781 r9c0326 39 39 { 40 40 Matrix ret(1,v.size()); 41 for( inti=0;i<v.size();i++)ret[0][i]=v[i];41 for(unsigned i=0;i<v.size();i++)ret[0][i]=v[i]; 42 42 return ret; 43 43 } … … 331 331 int retSwaps=0; 332 332 int currentRow=0; 333 334 if (height<2)335 return 0;336 333 337 334 for(int i=0;i<width;i++) -
gfanlib/gfanlib_vector.h
reacb781 r9c0326 85 85 unsigned int size()const{return v.size();}; 86 86 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);} 88 88 void push_back(typ a) 89 89 {
Note: See TracChangeset
for help on using the changeset viewer.