Merging the postbeta2 branch onto the mainline.
[platform/upstream/libvorbis.git] / vq / latticetune.c
index c4a81f9..bf771e4 100644 (file)
@@ -13,7 +13,7 @@
 
  function: utility main for setting entropy encoding parameters
            for lattice codebooks
- last mod: $Id: latticetune.c,v 1.2 2000/08/15 09:09:44 xiphmont Exp $
+ last mod: $Id: latticetune.c,v 1.3 2000/10/12 03:13:02 xiphmont Exp $
 
  ********************************************************************/
 
@@ -109,7 +109,7 @@ int main(int argc,char *argv[]){
     long step;
     long lines=0;
     long cols=-1;
-    double *vec;
+    float *vec;
     line=setup_line(in);
     while(line){
       int code;
@@ -122,7 +122,7 @@ int main(int argc,char *argv[]){
          while(*temp>32)temp++;
          while(*temp==' ')temp++;
        }
-       vec=alloca(sizeof(double)*cols);
+       vec=alloca(sizeof(float)*cols);
        step=cols/dim;
       }