comparison Fotopoulos/test-pv.c @ 23:71dd4b96221b

fix some compiler warning
author Peter Meerwald-Stadler <pmeerw@pmeerw.net>
date Fri, 20 Dec 2024 12:53:41 +0100
parents cbecc570129d
children
comparison
equal deleted inserted replaced
22:d8551fb39a5e 23:71dd4b96221b
28 28
29 void read_watermark(double *in, int N, int start_coeff, int wm_length, double wm_alpha) 29 void read_watermark(double *in, int N, int start_coeff, int wm_length, double wm_alpha)
30 { 30 {
31 int row, col, count; 31 int row, col, count;
32 long int elem, L, M, temp, seed, i; 32 long int elem, L, M, temp, seed, i;
33 double a;
34 double z; 33 double z;
35 M = start_coeff; 34 M = start_coeff;
36 L = wm_length; 35 L = wm_length;
37 a = wm_alpha;
38 for (i = 1; i <= 1000; i++) { 36 for (i = 1; i <= 1000; i++) {
39 seed = i; 37 seed = i;
40 z = 0.0; 38 z = 0.0;
41 count = 0; 39 count = 0;
42 elem = 0; 40 elem = 0;

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.