Changeset 2096 in Sophya


Ignore:
Timestamp:
Jul 16, 2002, 3:35:04 PM (23 years ago)
Author:
ansari
Message:

compil modifs PI/axes log sur SGI-CC et MAJ numero de version PI , Reza 16/7/2002

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/piaxes.cc

    r2092 r2096  
    66#include "machdefs.h"
    77#include <stdio.h>
     8#include <strings.h>
    89#include <math.h>
    910#include "piaxes.h"
     
    421422   if(nins>4) nins=4;
    422423   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++) {
    424426     double xt;
    425427     if(i<majticks.size()) xt = majticks[i]/10.;
     
    438440 // Les ticks mimneurs
    439441 minticks.resize(0);
    440  for(unsigned int i=0;i<majticks.size()-1;i++) {
     442 for(i=0;i<majticks.size()-1;i++) {
    441443   double dx = (majticks[i+1]-majticks[i])/10.;
    442444   minticks.push_back(majticks[i]);
     
    596598 // --- On enleve les blancs a la fin du label
    597599 if(label[lenl-1]==' ') {
    598    for(unsigned int i=lenl-1;i>=0;i--) {
     600   for(int i=lenl-1;i>=0;i--) {
    599601     if(label[i]!=' ') break;
    600602     label[i]='\0';
     
    610612 if(e==NULL) e=index(label,'E');
    611613 if(e) {
    612    for(unsigned int i=lenl-1;i>=0;i--) {
     614   for(int i=lenl-1;i>=0;i--) {
    613615     if(isdigit(label[i]) && label[i]!='0') break;
    614616     if(label[i]=='e' || label[i]=='E')
     
    625627 string stre;
    626628 if(e) {if(e==label) return; stre=e; *e='\0'; lenl=strlen(label);}
    627  for(unsigned int i=lenl-1;i>=0;i--) {
     629 for(int i=lenl-1;i>=0;i--) {
    628630   if(label[i]=='0') label[i]='\0';
    629631   else if(label[i]=='.') {
  • trunk/SophyaPI/PI/piversion.h

    r2091 r2096  
    22#define PIVERSION_H_SEEN
    33
    4 #define PI_VERSIONNUMBER  3.69
     4#define PI_VERSIONNUMBER  3.70
    55
    66#endif
Note: See TracChangeset for help on using the changeset viewer.