Commit 6ae588f6 authored by Debargha Mukherjee's avatar Debargha Mukherjee

Reduce array sizes for Wiener update steps

Change-Id: Iff0cb1d492c7a8c2035b9bd752b1d00260135672
parent 5b4a7264
......@@ -573,7 +573,7 @@ static INLINE int wrap_index(int i) {
static void update_a_sep_sym(double **Mc, double **Hc, double *a, double *b) {
int i, j;
double S[WIENER_WIN];
double A[WIENER_WIN], B[WIENER_WIN2];
double A[WIENER_HALFWIN1], B[WIENER_HALFWIN1 * WIENER_HALFWIN1];
int w, w2;
memset(A, 0, sizeof(A));
memset(B, 0, sizeof(B));
......@@ -619,7 +619,7 @@ static void update_a_sep_sym(double **Mc, double **Hc, double *a, double *b) {
static void update_b_sep_sym(double **Mc, double **Hc, double *a, double *b) {
int i, j;
double S[WIENER_WIN];
double A[WIENER_WIN], B[WIENER_WIN2];
double A[WIENER_HALFWIN1], B[WIENER_HALFWIN1 * WIENER_HALFWIN1];
int w, w2;
memset(A, 0, sizeof(A));
memset(B, 0, sizeof(B));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment