Changeset 2307 for trunk/external-alma


Ignore:
Timestamp:
09/21/11 10:12:02 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Use a certain large value instead of DBL_MAX so that the code
doesn't include float.h.


Location:
trunk/external-alma
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/asdm2ASAP/ASDMReader.cc

    r2305 r2307  
    22#include <sstream>
    33#include "limits.h"
    4 #include "float.h"
     4//#include "float.h"
    55
    66#include <measures/Measures/MEpoch.h>
     
    12331233    //ReceiverBand rb = rrows[0]->getFrequencyBand() ;
    12341234    int row0 = -1 ;
    1235     double eps = DBL_MAX ;
     1235    //double eps = DBL_MAX ;
     1236    double eps = 1.0e10 ;
    12361237    for ( unsigned int irow = 0 ; irow < nrow ; irow++ ) {
    12371238      CalAtmosphereRow *atmrow = atmrows[irow] ;
     
    13641365  apos[2] = antennaPosition_[2].getValue( Unit("m") ) ;
    13651366 
    1366   double eps = DBL_MAX ;
     1367  //double eps = DBL_MAX ;
     1368  double eps = 1.0e10 ;
    13671369  int retval = -1 ;
    13681370  for ( unsigned int ir = 0 ; ir < weatherStation_.size() ; ir++ ) {
  • trunk/external-alma/oldasdm2ASAP/OldASDMReader.cc

    r2301 r2307  
    22#include <sstream>
    33#include "limits.h"
    4 #include "float.h"
     4//#include "float.h"
    55
    66#include <measures/Measures/MEpoch.h>
     
    12331233    //ReceiverBand rb = rrows[0]->getFrequencyBand() ;
    12341234    int row0 = -1 ;
    1235     double eps = DBL_MAX ;
     1235    //double eps = DBL_MAX ;
     1236    double eps = 1.0e10 ;
    12361237    for ( unsigned int irow = 0 ; irow < nrow ; irow++ ) {
    12371238      CalAtmosphereRow *atmrow = atmrows[irow] ;
     
    13641365  apos[2] = antennaPosition_[2].getValue( Unit("m") ) ;
    13651366 
    1366   double eps = DBL_MAX ;
     1367  //double eps = DBL_MAX ;
     1368  double eps = 1.0e10 ;
    13671369  int retval = -1 ;
    13681370  for ( unsigned int ir = 0 ; ir < weatherStation_.size() ; ir++ ) {
Note: See TracChangeset for help on using the changeset viewer.