Changeset 3662 in Sophya for trunk/Cosmo/SimLSS/genefluct3d.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/genefluct3d.cc

    r3617 r3662  
    14351435   //                                    nlobe ~ 1/Dtrcom^2
    14361436   //      Mlim ~ sqrt(DNu) * (Dlum)^2 / Dtrcom
    1437    if(cosmo_ == NULL || redsh_ref_<0.| loscom2zred_.size()<1) {
     1437   if(cosmo_ == NULL || redsh_ref_<0. || loscom2zred_.size()<1) {
    14381438     const char *bla = "GeneFluct3D::AddNoise2Real_Error: set Observator and Cosmology first";
    14391439     cout<<bla<<endl; throw ParmError(bla);
Note: See TracChangeset for help on using the changeset viewer.