From 614280257bf795e44218349831210d15f4e5a55a Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Sun, 31 May 2020 13:30:53 -0400 Subject: [PATCH] added missing delete adaline --- machine_learning/adaline_learning.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machine_learning/adaline_learning.c b/machine_learning/adaline_learning.c index 3676caf0..7c69abef 100644 --- a/machine_learning/adaline_learning.c +++ b/machine_learning/adaline_learning.c @@ -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 */