Changeset 3990 in Sophya


Ignore:
Timestamp:
May 6, 2011, 2:43:45 PM (13 years ago)
Author:
ansari
Message:

Correction-3 bug ds calcul rapport de deux Four2DResponse Reza 06/05/2011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/RadioBeam/mdish.cc

    r3987 r3990  
    177177  double rb = b_.Value(kx,ky);
    178178  if (ra<rb) {
    179     if (rb>1.e-9)  return(ra/rb); 
     179    if (rb>1.e-19)  return(ra/rb); 
    180180    else return 0.;
    181181  }
    182   double rval=1.;
    183   if (rb>1.e-9) rval=ra/rb;
     182  double rval=maxratio_;
     183  if (rb>1.e-19) rval=ra/rb;
    184184  if (rval<maxratio_) return rval;
    185185  return maxratio_;
Note: See TracChangeset for help on using the changeset viewer.