Changeset 3662 in Sophya for trunk/Cosmo/SimLSS/pkspectrum.cc


Ignore:
Timestamp:
Oct 23, 2009, 10:29:14 PM (16 years ago)
Author:
cmv
Message:

suggest explicit braces to avoid ambiguous else g++ warning corrected, cmv 23/10/2009

File:
1 edited

Legend:

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

    r3381 r3662  
    545545  //             pour x<0.01  |DL(x)-G(X)^2|<2.0e-13
    546546  if(typfilter_ == GAUSSIAN)
    547     if(x<0.01) return 1.-x2*(1.-x2/2.); else return exp(-x2);
     547    {if(x<0.01) return 1.-x2*(1.-x2/2.); else return exp(-x2);}
    548548
    549549  // Filtre top-hat T(x) = 3*(sin(x)-x*cos(x))/x^3
Note: See TracChangeset for help on using the changeset viewer.