Revision 1877 trunk/src/linad99/dvec_io1.cpp

dvec_io1.cpp (revision 1877)
30 30
const int MAX_NUMBER_COLUMNS = 6550;
31 31
const int MAX_NUMBER_ROWS = 6550;
32 32

  
33
#if !defined(HUGE)
34
#define HUGE 1.e+100
35
#endif
36

  
37 33
int get_non_blank_line(const ifstream& infile, char * & line,
38 34
   const unsigned int& line_length);
39 35

  
......
196 192
         ad_exit(1);
197 193
       }
198 194

  
199
     #ifdef __GNU__
200
       if (elem(i)== HUGE ||elem(i)== -HUGE)
201
     #else
202
       if (elem(i)== HUGE_VAL ||elem(i)== -HUGE_VAL)
203
     #endif
195
       if (elem(i) == HUGE_VAL || elem(i) == -HUGE_VAL)
204 196
       {
205 197
         cerr << "Overflow Error decoding field " << filename
206 198
                << " in dvector::dvector(char * filename) " << "\n";

Also available in: Unified diff