[Numpy-svn] r3927 - trunk/numpy/core/src

numpy-svn@scip... numpy-svn@scip...
Sat Jul 28 07:36:19 CDT 2007


Author: pearu
Date: 2007-07-28 07:36:16 -0500 (Sat, 28 Jul 2007)
New Revision: 3927

Modified:
   trunk/numpy/core/src/umathmodule.c.src
Log:
Trying to fix compiler wrarnings: conversion from 'double' to 'float'

Modified: trunk/numpy/core/src/umathmodule.c.src
===================================================================
--- trunk/numpy/core/src/umathmodule.c.src	2007-07-28 12:29:04 UTC (rev 3926)
+++ trunk/numpy/core/src/umathmodule.c.src	2007-07-28 12:36:16 UTC (rev 3927)
@@ -1139,7 +1139,7 @@
 		}
 		else {
 			*((@otyp@ *)op)=				\
-				*((@typ@ *)i1) / (double)*((@typ@ *)i2);
+				(double)*((@typ@ *)i1) / (double)*((@typ@ *)i2);
 		}
 	}
 }



More information about the Numpy-svn mailing list