Changeset 3128 in Sophya for trunk/SophyaExt/FitsIOServer/fboloread.cc
- Timestamp:
- Jan 11, 2007, 7:07:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fboloread.cc
r2615 r3128 28 28 29 29 cout<<"Reading element by elements"<<endl; 30 for( longi=0; i<fbr.GetNbLine(); i++) {30 for(LONGLONG i=0; i<fbr.GetNbLine(); i++) { 31 31 double a = fbr.GetAlpha(i); 32 32 double d = fbr.GetDelta(i); … … 43 43 TVector<float> Vc1; 44 44 TVector<int_4> Vs; 45 for( longi=0, istep=1000; i<fbr.GetNbLine(); i+=istep) {46 longi2=i+istep-1; if(i2>=fbr.GetNbLine()) i2=fbr.GetNbLine()-1;45 for(LONGLONG i=0, istep=1000; i<fbr.GetNbLine(); i+=istep) { 46 LONGLONG i2=i+istep-1; if(i2>=fbr.GetNbLine()) i2=fbr.GetNbLine()-1; 47 47 fbr.GetSNum(i,i2,Vs); 48 48 fbr.GetBolo(i,i2,Vb); … … 148 148 149 149 // Set the number of rows as the smallest of for connected columns 150 longnrows = mFABT[col]->GetNbLine();150 LONGLONG nrows = mFABT[col]->GetNbLine(); 151 151 if(NBline==0) NBline = nrows; 152 152 else if(nrows<NBline) NBline = nrows; … … 222 222 for(col=0; col<(int)mFABT.size(); col++) { 223 223 if(mFABT[col]==NULL) continue; 224 longnbl = mFABT[col]->GetNbLine();224 LONGLONG nbl = mFABT[col]->GetNbLine(); 225 225 if(nbl==0) continue; 226 226 if(NBline==0 || nbl<NBline) NBline = nbl;
Note:
See TracChangeset
for help on using the changeset viewer.