Browse Source

Call G_quant_init()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33337 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 years ago
parent
commit
19916d93d7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      raster/r.external/main.c

+ 1 - 0
raster/r.external/main.c

@@ -431,6 +431,7 @@ static void write_fp_quant(const char *output)
 {
     struct Quant quant;
 
+    G_quant_init(&quant);
     G_quant_round(&quant);
 
     if (G_write_quant(output, G_mapset(), &quant) < 0)