aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib
diff options
context:
space:
mode:
authorPeter Diener <diener@cct.lsu.edu>2013-04-29 14:23:06 -0500
committerPeter Diener <diener@cct.lsu.edu>2013-04-29 14:23:06 -0500
commit8b5e709c59ac6435721849d0f05a41f2505ce2b0 (patch)
treebb5492c782f88b415ea31464df540cc19a2a36dc /Carpet/CarpetLib
parentc35f19d61efd8d93b4d58882cf1ad7c8481c2f3a (diff)
Fix in order to compile with IBM compilers.
Without this fix, the IBM compilers would not compile the prolongation operators. Signed-off-by: Peter Diener <diener@cct.lsu.edu>
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r--Carpet/CarpetLib/src/prolongate_3d_cc_rf2.cc2
-rw-r--r--Carpet/CarpetLib/src/prolongate_3d_rf2.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/prolongate_3d_cc_rf2.cc b/Carpet/CarpetLib/src/prolongate_3d_cc_rf2.cc
index cf8246556..f8b50aaf0 100644
--- a/Carpet/CarpetLib/src/prolongate_3d_cc_rf2.cc
+++ b/Carpet/CarpetLib/src/prolongate_3d_cc_rf2.cc
@@ -190,6 +190,7 @@ namespace CarpetLib {
};
#define CARPET_NO_COMPLEX
+#define CARPET_NO_INT
#include "typecase.hh"
#undef TYPECASE
@@ -749,6 +750,7 @@ namespace CarpetLib {
ibbox3 const & restrict regbbox, \
void * extraargs);
+#define CARPET_NO_INT
#include "typecase.hh"
#undef TYPECASE
diff --git a/Carpet/CarpetLib/src/prolongate_3d_rf2.cc b/Carpet/CarpetLib/src/prolongate_3d_rf2.cc
index ee6652aaf..0dc18ccf6 100644
--- a/Carpet/CarpetLib/src/prolongate_3d_rf2.cc
+++ b/Carpet/CarpetLib/src/prolongate_3d_rf2.cc
@@ -184,6 +184,7 @@ namespace CarpetLib {
};
#define CARPET_NO_COMPLEX
+#define CARPET_NO_INT
#include "typecase.hh"
#undef TYPECASE
@@ -896,6 +897,7 @@ namespace CarpetLib {
ibbox3 const & restrict regbbox, \
void * extraargs);
+#define CARPET_NO_INT
#include "typecase.hh"
#undef TYPECASE