Changeset 179 in Sophya for trunk/SophyaPI/PIext/nobjmgr.cc


Ignore:
Timestamp:
Dec 23, 1998, 5:04:15 PM (27 years ago)
Author:
ercodmgr
Message:

Petits pb de compil aCC Reza 23/12/98

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r178 r179  
    976976
    977977// Creation NTuple
    978 const char* ntn[4] = {"expx","expy","expex","expey",};
     978char* ntn[4] = {"expx","expy","expex","expey",};
    979979NTuple* nt = NULL;
    980980bool haserr = false;
     
    10161016if (!myImgApp)  return;
    10171017
    1018 const char* ntn[3] = {"expx","expy","expz"};
     1018char* ntn[3] = {"expx","expy","expz"};
    10191019NTuple* nt = new NTuple(3,ntn);  // Creation NTuple
    10201020
     
    10631063if ( (oh != NULL) && (oh->ClassId() == ClassId_Histo1D) )  h1 = (Histo*)oh;  // Pas de remise a zero ! h1->Zero();
    10641064else {
    1065   const char* ntn[2]= {"hxval", "hwt"};
     1065  char* ntn[2]= {"hxval", "hwt"};
    10661066  nt = new NTuple(2,ntn);  // Creation NTuple
    10671067  }
     
    11121112if ( (oh != NULL) && (oh->ClassId() == ClassId_Histo2D) )  h2 = (Histo2D*)oh;  // Pas de remise a zero ! h2->Zero();
    11131113else {
    1114   const char* ntn[3]= {"hxval", "hyval", "hwt"};
     1114  char* ntn[3]= {"hxval", "hyval", "hwt"};
    11151115  nt = new NTuple(3,ntn);  // Creation NTuple
    11161116  }
     
    11731173if( (oh!=NULL) && (oh->ClassId()== ClassId_HProf) )  hprof = (HProf*)oh;
    11741174else {
    1175   const char* ntn[3]= {"hxval", "hyval", "hwt"};
     1175  char* ntn[3]= {"hxval", "hyval", "hwt"};
    11761176  nt = new NTuple(3,ntn);  // Creation NTuple
    11771177}
     
    12181218if (nomvec.length() < 1) nomvec = "VecFill";
    12191219
    1220 const char* ntn[2]= {"vecval", "vecwt"};
     1220char* ntn[2]= {"vecval", "vecwt"};
    12211221nt = new NTuple(1,ntn);  // Creation NTuple
    12221222 
     
    12701270  } 
    12711271if (nt == NULL) {
    1272   const char* ntn[4]= {"x", "y","z","t"};
     1272  char* ntn[4]= {"x", "y","z","t"};
    12731273  nt = new NTuple(4,ntn);  // Creation NTuple
    12741274  fgnnt = true;
     
    13571357
    13581358// Creation NTuple Buffer
    1359 const char* ntn[4]= {"x","y","f","e"};
     1359char* ntn[4]= {"x","y","f","e"};
    13601360NTuple*nt = new NTuple(4,ntn);
    13611361
     
    18841884  Gauss1DPol* myf;
    18851885  if(degre>=0) myf = new Gauss1DPol((unsigned int)degre,((O.polcx)?true:false));
    1886        else    myf = new Gauss1DPol(((O.polcx)?true:false));
     1886  else { bool bfg = (O.polcx)?true:false;   myf = new Gauss1DPol(bfg); }
    18871887  myfunc = myf;
    18881888
     
    18941894  GaussN1DPol* myf;
    18951895  if(degre>=0) myf = new GaussN1DPol((unsigned int)degre,((O.polcx)?true:false));
    1896        else    myf = new GaussN1DPol(((O.polcx)?true:false));
     1896  else  { bool bfg = (O.polcx)?true:false;   myf = new GaussN1DPol(bfg); }
    18971897  myfunc = myf;
    18981898
     
    20312031if (fft.NData() < 1)  return;
    20322032
    2033 const char* ntn[3] = {"refc", "imfc", "pfc"};
     2033char* ntn[3] = {"refc", "imfc", "pfc"};
    20342034NTuple* nt = new NTuple(3,ntn);  // Creation NTuple
    20352035Vector* vf = new Vector(fft.NData()/2);
Note: See TracChangeset for help on using the changeset viewer.