Changeset 2144 in Sophya for trunk/SophyaLib/SkyT/radspec.cc


Ignore:
Timestamp:
Jul 31, 2002, 12:25:34 PM (23 years ago)
Author:
ansari
Message:

Correction appels ambigus a pow() ds fichiers (pow(10,x) ---> pow(10.,x) , copies depuis base cvs ESTEC modifie par M. Reinecke, 31/7/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyT/radspec.cc

    r927 r2144  
    11//--------------------------------------------------------------------------
    22// File and Version Information:
    3 //      $Id: radspec.cc,v 1.5 2000-04-14 07:28:13 ansari Exp $
     3//      $Id: radspec.cc,v 1.6 2002-07-31 10:25:34 ansari Exp $
    44//
    55// Description:
     
    157157static double RadSpectra_logFluxFunction(double tau)
    158158{
    159   double value = _rayIntLog->flux(pow(10,tau))*pow(10,tau);
     159  double value = _rayIntLog->flux(pow(10.,tau))*pow(10.,tau);
    160160  return(value);   
    161161}
     
    251251static double RadSpectra_logFilteredFlux(double tau)
    252252{
    253   double nu = pow(10,tau);
     253  double nu = pow(10.,tau);
    254254  double flux = _raypourfinteg->flux(nu)*nu;
    255255  double result = flux * _filter->transmission(nu);
Note: See TracChangeset for help on using the changeset viewer.