[GRASS-SVN] r62388 - grass/branches/releasebranch_7_0/raster/r.profile

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 26 11:46:19 PDT 2014


Author: annakrat
Date: 2014-10-26 11:46:19 -0700 (Sun, 26 Oct 2014)
New Revision: 62388

Modified:
   grass/branches/releasebranch_7_0/raster/r.profile/main.c
Log:
r.profile: fixed failing tests on 64bit - using double instead of float (merge from trunk, r62299)

Modified: grass/branches/releasebranch_7_0/raster/r.profile/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.profile/main.c	2014-10-26 18:42:23 UTC (rev 62387)
+++ grass/branches/releasebranch_7_0/raster/r.profile/main.c	2014-10-26 18:46:19 UTC (rev 62388)
@@ -272,7 +272,7 @@
 	       int coords, double res, int fd, int data_type, FILE * fp,
 	       char *null_string, const char *unit, double factor)
 {
-    float rows, cols, LEN;
+    double rows, cols, LEN;
     double Y, X, k;
 
     cols = e1 - e2;



More information about the grass-commit mailing list