This commit is contained in:
Gustav Louw 2018-03-29 14:35:39 -07:00
parent adabe8d1ca
commit 25946d66d3

2
Tinn.c
View File

@ -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();