Changeset 14998
- Timestamp:
- 05/09/13 23:53:42 (12 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Numerics/extrema.cpp
r14981 r14998 27 27 else return b; 28 28 } 29 30 #ifdef _HAVE_ADOLC_ 31 IssmPDouble min(IssmPDouble a,IssmPDouble b){ 32 if (a<b)return a; 33 else return b; 34 } 35 IssmPDouble max(IssmPDouble a,IssmPDouble b){ 36 if (a>b)return a; 37 else return b; 38 } 39 #endif 40 41 -
issm/trunk-jpl/src/c/shared/Numerics/numerics.h
r14977 r14998 5 5 #ifndef _NUMERICS_H_ 6 6 #define _NUMERICS_H_ 7 8 #ifdef HAVE_CONFIG_H 9 #include <config.h> 10 #else 11 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" 12 #endif 7 13 8 14 #include "./Verbosity.h" … … 17 23 IssmDouble min(IssmDouble a,IssmDouble b); 18 24 IssmDouble max(IssmDouble a,IssmDouble b); 25 26 #ifdef _HAVE_ADOLC_ 27 IssmPDouble min(IssmPDouble a,IssmPDouble b); 28 IssmPDouble max(IssmPDouble a,IssmPDouble b); 29 #endif 30 19 31 int min(int a,int b); 20 32 int max(int a,int b); -
issm/trunk-jpl/src/c/toolkits/issm/IssmSeqVec.h
r14950 r14998 17 17 #endif 18 18 19 #include "../../shared/Exceptions/exceptions.h" 20 #include "../../shared/io/Print/Print.h" 21 #include "../../shared/MemOps/MemOps.h" 19 #include "../../shared/shared.h" 22 20 #include <math.h> 23 21
Note:
See TracChangeset
for help on using the changeset viewer.