Changeset 2689 in Sophya
- Timestamp:
- Apr 26, 2005, 11:52:55 AM (20 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomskymapadapter.cc
r2683 r2689 408 408 409 409 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 410 r_8* NTupInt_PixelMap< complex<float> >::GetLineD( int n) const410 r_8* NTupInt_PixelMap< complex<float> >::GetLineD(sa_size_t n) const 411 411 { 412 412 int i; … … 426 426 427 427 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 428 r_8* NTupInt_PixelMap< complex<double> >::GetLineD( int n) const428 r_8* NTupInt_PixelMap< complex<double> >::GetLineD(sa_size_t n) const 429 429 { 430 430 int i; -
trunk/SophyaPI/PIext/nomtarradapter.cc
r2683 r2689 227 227 /* --Methode-- */ 228 228 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 229 r_8* NTupInt_TArray< complex<r_4> >::GetLineD( int n) const229 r_8* NTupInt_TArray< complex<r_4> >::GetLineD(sa_size_t n) const 230 230 { 231 231 if ((n < 0) || (n >= (int)(mArr->Size()) ) ) { … … 247 247 248 248 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 249 r_8* NTupInt_TArray< complex<r_8> >::GetLineD( int n) const249 r_8* NTupInt_TArray< complex<r_8> >::GetLineD(sa_size_t n) const 250 250 { 251 251 if ((n < 0) || (n >= (int)(mArr->Size()) ) ) { -
trunk/SophyaPI/PIext/nomtmatvecadapter.cc
r2683 r2689 353 353 /* --Methode-- */ 354 354 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 355 r_8* NTupInt_TMatrix< complex<r_4> >::GetLineD( int n) const355 r_8* NTupInt_TMatrix< complex<r_4> >::GetLineD(sa_size_t n) const 356 356 { 357 357 int i,j; … … 371 371 372 372 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 373 r_8* NTupInt_TMatrix< complex<r_8> >::GetLineD( int n) const373 r_8* NTupInt_TMatrix< complex<r_8> >::GetLineD(sa_size_t n) const 374 374 { 375 375 int i,j; -
trunk/SophyaPI/PIext/pawexecut.cc
r2684 r2689 591 591 xn = objnt->GetLineD(k); 592 592 if(f((int_8_exprf)k,xn,xnt,xnt+1,xnt+2,xnt+3) != 0) { 593 if(fout) fprintf(fout,"% d ",k); else printf("%d ",k);593 if(fout) fprintf(fout,"%ld ",(long)k); else printf("%ld ",(long)k); 594 594 for(i=0;i<(int)varnum.size();i++) { 595 595 if(fout) fprintf(fout,"%g ",*(xn+varnum[i])); -
trunk/SophyaPI/PIext/pintuple.cc
r2642 r2689 151 151 double xp,yp,xer,yer,wp; 152 152 double xl,yl; 153 int nok,npolyg; 153 long nok; 154 int npolyg; 154 155 155 156 if (!mNT) return; … … 263 264 // Les labels et leurs longueurs -> largeur de la cellule 264 265 char label[64]; 265 sprintf(label, "N=% d (/%d)", nok,mNT->NbLines());266 sprintf(label, "N=%ld (/%ld)", (long)nok, (long)mNT->NbLines()); 266 267 double cellWidth = 1.1 * (double)g->CalcStringWidth(label); 267 268 double xu, yu, cw; … … 298 299 double xp,yp; 299 300 char buff[128]; 300 sprintf(buff,"PINTuple: NLines= %d NCol= %d \n", mNT->NbLines(), mNT->NbColumns()); 301 sprintf(buff,"PINTuple: NLines= %ld NCol= %ld \n", (long)mNT->NbLines(), 302 (long)mNT->NbColumns()); 301 303 info += buff; 302 304 info += mNT->LineHeaderToString();
Note:
See TracChangeset
for help on using the changeset viewer.