Changeset 9651
- Timestamp:
- Feb 10, 2015, 5:30:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/anuga/utilities/util_ext.h
r9641 r9651 21 21 22 22 23 24 25 23 #define STRINGIFY(x) #x 26 24 #define TOSTRING(x) STRINGIFY(x) … … 28 26 #define P_ERROR_BUFFER_SIZE 65 29 27 30 #ifdef _WIN3231 #define __func__ __FUNCTION__32 #endif33 28 34 29 // check that numpy array objects are C contiguous memory … … 45 40 46 41 47 48 49 50 51 42 void report_python_error(const char *location, const char *msg) 52 43 { … … 61 52 62 53 63 #ifdef _WIN32 64 65 #else 54 66 55 double max(double x, double y) { 67 56 //Return maximum of two doubles … … 78 67 else return y; 79 68 } 80 #endif 69 81 70 82 71 double sign(double x) {
Note: See TracChangeset
for help on using the changeset viewer.