From 25946d66d3c43835c7da2007417aea0d684734f5 Mon Sep 17 00:00:00 2001 From: Gustav Louw Date: Thu, 29 Mar 2018 14:35:39 -0700 Subject: [PATCH] update --- Tinn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tinn.c b/Tinn.c index 3af70fa..d0243f9 100644 --- a/Tinn.c +++ b/Tinn.c @@ -87,7 +87,7 @@ static void forewards(Tinn t, double* in) static void twrand(Tinn t) { - const int wgts = t.nhid * (t.nips + t.nops); + int wgts = t.nhid * (t.nips + t.nops); int i; for(i = 0; i < wgts; i++) t.w[i] = frand(); for(i = 0; i < t.nb; i++) t.b[i] = frand();