[MOAB-dev] r1202 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Fri Jul 13 10:27:21 CDT 2007


Author: kraftche
Date: 2007-07-13 10:27:21 -0500 (Fri, 13 Jul 2007)
New Revision: 1202

Modified:
   MOAB/trunk/MBCore.cpp
Log:
make constant explicitly single-precision float to match function return type

Modified: MOAB/trunk/MBCore.cpp
===================================================================
--- MOAB/trunk/MBCore.cpp	2007-07-12 22:38:46 UTC (rev 1201)
+++ MOAB/trunk/MBCore.cpp	2007-07-13 15:27:21 UTC (rev 1202)
@@ -281,7 +281,7 @@
   if (version_string)
     *version_string = MB_VERSION_STRING;
   
-  return MB_VERSION_MAJOR + MB_VERSION_MINOR / 100.0;
+  return MB_VERSION_MAJOR + MB_VERSION_MINOR / 100.0f;
 }
 
 //! get the type from a handle, returns type




More information about the moab-dev mailing list