[commtech] Initialize vector in calc_mat.c
This commit is contained in:
parent
09afc1ed2b
commit
c37c100355
|
@ -33,6 +33,8 @@ int init_calc(int size)
|
|||
}
|
||||
for (i = 0; i < n * m; i++)
|
||||
mat[i] = rand();
|
||||
for (i = 0; i < m; i++)
|
||||
vect[i] = rand();
|
||||
li = 0;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue