From e3fcd83f37270d62cc487ebdcb76dbf04d66c52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B9=20Marcer?= Date: Thu, 28 May 2020 14:59:11 +0200 Subject: [PATCH] ex-7: fixed some errors --- ex-7/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ex-7/main.c b/ex-7/main.c index 0bb2afa..67f146e 100644 --- a/ex-7/main.c +++ b/ex-7/main.c @@ -95,7 +95,7 @@ int main(int argc, char **argv) { * dataset to get an approximate * solution in `iter` iterations. */ - // fputs("# Perceptron \n\n", stderr); + fputs("# Perceptron \n\n", stderr); w = percep_train(signal, noise, opts.iter, &cut); } else { @@ -107,7 +107,6 @@ int main(int argc, char **argv) { /* Print the results of the method * selected: weights and threshold. */ - fprintf(stderr, "\n* i: %d\n", opts.iter); fprintf(stderr, "* w: [%.3f, %.3f]\n", gsl_vector_get(w, 0), gsl_vector_get(w, 1));