Changeset 3572 in Sophya for trunk/SophyaProg/Tests/tspm2.cc


Ignore:
Timestamp:
Feb 7, 2009, 10:50:34 PM (17 years ago)
Author:
cmv
Message:

char* -> const char* pour regler les problemes de deprecated string const... + comparaison unsigned signed + suppression EVOL_PLANCK rz+cmv 07/02/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tspm2.cc

    r3077 r3572  
    179179    {
    180180      sphc.PixThetaPhi(j,teta,phi);
    181       if (teta < 0.3)   sphc(j) = (30., drandpm1()*3.);
    182       else if ((teta>1.4) && (teta<1.6) ) sphc(j) = (20., NorRand());
     181      if (teta < 0.3)   sphc(j) = complex<float>(30., drandpm1()*3.);
     182      else if ((teta>1.4) && (teta<1.6) ) sphc(j) = complex<float>(20., NorRand());
    183183      else {
    184184        if (phi < 2.)     sphc(j) = 2.;
Note: See TracChangeset for help on using the changeset viewer.