Changeset 2096 in Sophya
- Timestamp:
- Jul 16, 2002, 3:35:04 PM (23 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/piaxes.cc
r2092 r2096 6 6 #include "machdefs.h" 7 7 #include <stdio.h> 8 #include <strings.h> 8 9 #include <math.h> 9 10 #include "piaxes.h" … … 421 422 if(nins>4) nins=4; 422 423 vector<double> tmp; 423 for(unsigned int i=0;i<=majticks.size();i++) { 424 unsigned int i; 425 for(i=0;i<=majticks.size();i++) { 424 426 double xt; 425 427 if(i<majticks.size()) xt = majticks[i]/10.; … … 438 440 // Les ticks mimneurs 439 441 minticks.resize(0); 440 for( unsigned inti=0;i<majticks.size()-1;i++) {442 for(i=0;i<majticks.size()-1;i++) { 441 443 double dx = (majticks[i+1]-majticks[i])/10.; 442 444 minticks.push_back(majticks[i]); … … 596 598 // --- On enleve les blancs a la fin du label 597 599 if(label[lenl-1]==' ') { 598 for( unsignedint i=lenl-1;i>=0;i--) {600 for(int i=lenl-1;i>=0;i--) { 599 601 if(label[i]!=' ') break; 600 602 label[i]='\0'; … … 610 612 if(e==NULL) e=index(label,'E'); 611 613 if(e) { 612 for( unsignedint i=lenl-1;i>=0;i--) {614 for(int i=lenl-1;i>=0;i--) { 613 615 if(isdigit(label[i]) && label[i]!='0') break; 614 616 if(label[i]=='e' || label[i]=='E') … … 625 627 string stre; 626 628 if(e) {if(e==label) return; stre=e; *e='\0'; lenl=strlen(label);} 627 for( unsignedint i=lenl-1;i>=0;i--) {629 for(int i=lenl-1;i>=0;i--) { 628 630 if(label[i]=='0') label[i]='\0'; 629 631 else if(label[i]=='.') { -
trunk/SophyaPI/PI/piversion.h
r2091 r2096 2 2 #define PIVERSION_H_SEEN 3 3 4 #define PI_VERSIONNUMBER 3. 694 #define PI_VERSIONNUMBER 3.70 5 5 6 6 #endif
Note:
See TracChangeset
for help on using the changeset viewer.