Changeset 3248 in Sophya for trunk/Cosmo/SimLSS/cmvdefsurv.cc


Ignore:
Timestamp:
May 15, 2007, 12:08:20 PM (18 years ago)
Author:
cmv
Message:

correction erreur format dans sscanf cmv 15/05/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/SimLSS/cmvdefsurv.cc

    r3246 r3248  
    115115    break;
    116116  case 'U' :
    117     sscanf(optarg,"%lf,%lf,%lf,%lf,%u",&h100,&om0,&ol0,&w0,&flat);
     117    sscanf(optarg,"%lf,%lf,%lf,%lf,%hu",&h100,&om0,&ol0,&w0,&flat);
    118118    break;
    119119  case '2' :
     
    375375
    376376 double smass = mhiref/ssig*slim;
    377  cout<<"\nSigma noise equivalent = "<<smass<<" Msol"<<endl;
     377 cout<<"\nSigma noise equivalent = "<<smass<<" Msol (1 lobe)"<<endl;
     378 double smass_nl = mhiref/ssig*slim_nl;
     379 cout<<"\nSigma noise equivalent = "<<smass_nl<<" Msol ("<<nlobes<<" lobes)"<<endl;
    378380
    379381 return 0;
Note: See TracChangeset for help on using the changeset viewer.