Browse Source

r.profile: fixed failing tests on 64bit - using double instead of float (merge from trunk, https://trac.osgeo.org/grass/changeset/62299)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62388 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 10 năm trước cách đây
mục cha
commit
d46bb54e01
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      raster/r.profile/main.c

+ 1 - 1
raster/r.profile/main.c

@@ -272,7 +272,7 @@ int do_profile(double e1, double e2, double n1, double n2,
 	       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;