/[escript]/trunk/escript/src/EscriptParams.cpp
ViewVC logotype

Diff of /trunk/escript/src/EscriptParams.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2768 by jfenwick, Thu Nov 12 06:03:37 2009 UTC revision 2769 by jfenwick, Tue Nov 24 00:36:22 2009 UTC
# Line 15  Line 15 
15  #include "EscriptParams.h"  #include "EscriptParams.h"
16  #include <cstring>  #include <cstring>
17  #include <boost/python/tuple.hpp>  #include <boost/python/tuple.hpp>
18    #include <cmath>            // to test if we know how to check for nan
19    
20  namespace escript  namespace escript
21  {  {
# Line 87  EscriptParams::getInt(const char* name, Line 88  EscriptParams::getInt(const char* name,
88     {     {
89      return lapack_support;      return lapack_support;
90     }     }
91       if (!strcmp(name, "NAN_CHECK"))
92       {
93    #ifdef FP_NAN  
94        return 1;
95    #else
96        return 0;
97    #endif
98       }
99     return sentinel;     return sentinel;
100  }  }
101        

Legend:
Removed from v.2768  
changed lines
  Added in v.2769

  ViewVC Help
Powered by ViewVC 1.1.26