added missing delete adaline

This commit is contained in:
Krishna Vedala 2020-05-31 13:30:53 -04:00
parent c884bb96d9
commit 614280257b
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,7 @@ void test1(double eta)
// for (int i = 0; i < N; i++)
// free(X[i]);
free(X);
delete_adaline(&ada);
}
/**
@ -301,6 +302,7 @@ void test2(double eta)
free(X[i]);
free(X);
free(Y);
delete_adaline(&ada);
}
/**
@ -374,6 +376,7 @@ void test3(double eta)
free(X[i]);
free(X);
free(Y);
delete_adaline(&ada);
}
/** Main function */