[cig-commits] r18930 - short/3D/PyLith/trunk/modulesrc/include
brad at geodynamics.org
brad at geodynamics.org
Sat Sep 17 14:16:13 PDT 2011
Author: brad
Date: 2011-09-17 14:16:13 -0700 (Sat, 17 Sep 2011)
New Revision: 18930
Modified:
short/3D/PyLith/trunk/modulesrc/include/pylithtypes.i
Log:
Fixed preprocessor check for PETSc single precision in modules.
Modified: short/3D/PyLith/trunk/modulesrc/include/pylithtypes.i
===================================================================
--- short/3D/PyLith/trunk/modulesrc/include/pylithtypes.i 2011-09-17 19:01:05 UTC (rev 18929)
+++ short/3D/PyLith/trunk/modulesrc/include/pylithtypes.i 2011-09-17 21:16:13 UTC (rev 18930)
@@ -16,7 +16,7 @@
// ======================================================================
//
-#if (PETSC_PRECISION == single)
+#if defined(PETSC_USE_REAL_SINGLE)
#define PYLITH_USE_SCALAR_SINGLE
typedef float PylithScalar;
#else
More information about the CIG-COMMITS
mailing list