Revision 1877 trunk/src/linad99/dmat_io2.cpp

dmat_io2.cpp (revision 1877)
73 73
   void ** m;
74 74
 };
75 75

  
76
#if !defined(HUGE)
77
#define HUGE 1.e+100
78
#endif
79

  
80 76
const int MAXROWS = 5050;
81 77

  
82 78
/**
......
321 317
         ad_exit(1);
322 318
       }
323 319

  
324
       #ifdef __GNU__
325
          if (elem(i,j)== HUGE ||elem(i,j)== -HUGE)
326
       #else
327
         if (elem(i,j)== HUGE_VAL ||elem(i,j)== -HUGE_VAL)
328
       #endif
320
       if (elem(i,j) == HUGE_VAL ||elem(i,j) == -HUGE_VAL)
329 321
       {
330 322
         cerr << "Overflow Error decoding field " << filename
331 323
                << " in dmatrix::dmatrix(char * filename) " << "\n";

Also available in: Unified diff