[MOAB-dev] r3615 - MOAB/trunk/src

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Mon Mar 15 10:00:24 CDT 2010


Author: kraftche
Date: 2010-03-15 10:00:24 -0500 (Mon, 15 Mar 2010)
New Revision: 3615

Modified:
   MOAB/trunk/src/AdaptiveKDTree.cpp
Log:
fix namespace/include bug

Modified: MOAB/trunk/src/AdaptiveKDTree.cpp
===================================================================
--- MOAB/trunk/src/AdaptiveKDTree.cpp	2010-03-15 13:50:26 UTC (rev 3614)
+++ MOAB/trunk/src/AdaptiveKDTree.cpp	2010-03-15 15:00:24 UTC (rev 3615)
@@ -33,6 +33,14 @@
 #  define finite(A) _finite(A)
 #endif
 
+  /* include our MPI header before any HDF5 because otherwise
+     it will get included indirectly by HDF5 */
+# ifdef USE_MPI
+#  include "moab_mpi.h"
+# endif 
+# include <H5Tpublic.h>
+#endif
+
 namespace moab {
 
 AdaptiveKDTree::Settings::Settings()
@@ -56,13 +64,6 @@
 #define MB_AD_KD_TREE_USE_TWO_DOUBLE_TAG
 
 #if defined(MB_AD_KD_TREE_USE_SINGLE_TAG) && defined(HDF5_FILE)
-  /* include our MPI header before any HDF5 because otherwise
-     it will get included indirectly by HDF5 */
-# ifdef USE_MPI
-#  include "moab_mpi.h"
-# endif 
-# include <H5Tpublic.h>
-#endif
 
 #define MAKE_TAG( NAME, STORAGE, TYPE, COUNT, HANDLE, DEFAULT ) \
   if (MB_SUCCESS != make_tag( moab(), \



More information about the moab-dev mailing list