Browse Source

Fixed wrong precision of top and bottom region storage.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51774 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 13 years ago
parent
commit
b96b38bfb6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/gis/wr_cellhd.c

+ 2 - 2
lib/gis/wr_cellhd.c

@@ -85,8 +85,8 @@ void G__write_Cell_head3(FILE * fd,
 
     G__write_Cell_head(fd, cellhd, is_cellhd);
 
-    fprintf(fd, "top:        %g\n", cellhd->top);
-    fprintf(fd, "bottom:     %g\n", cellhd->bottom);
+    fprintf(fd, "top:        %.15f\n", cellhd->top);
+    fprintf(fd, "bottom:     %.15f\n", cellhd->bottom);
 
     fprintf(fd, "cols3:      %d\n", cellhd->cols3);
     fprintf(fd, "rows3:      %d\n", cellhd->rows3);