Making the Laplace test case pass again
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Tue, 27 May 2008 14:58:42 +0000 (00:58 +1000)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Tue, 27 May 2008 14:58:42 +0000 (00:58 +1000)
tests/laplace-test.c

index 65b21e0..de10b82 100644 (file)
@@ -28,7 +28,7 @@ int main(void)
       decay[i] = rand()%11000+5000;
    }
    for (i=0;i<10000;i++)
-      ec_laplace_encode(&enc, val[i], decay[i]);      
+      ec_laplace_encode(&enc, &val[i], decay[i]);      
       
    ec_enc_done(&enc);