From 975f45676ed1654e3baf97cb8bd2961f713729ce Mon Sep 17 00:00:00 2001 From: Gustav Louw Date: Tue, 3 Apr 2018 12:46:57 -0700 Subject: [PATCH] mixed constructor args --- Tinn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tinn.c b/Tinn.c index e5bf2da..bbe4a22 100644 --- a/Tinn.c +++ b/Tinn.c @@ -172,7 +172,7 @@ Tinn xtload(const char* path) // Header. fscanf(file, "%d %d %d\n", &nips, &nhid, &nops); // A new tinn is returned. - const Tinn t = xtbuild(nips, nhid, nips); + const Tinn t = xtbuild(nips, nhid, nops); // Biases and weights. for(int i = 0; i < t.nb; i++) fscanf(file, "%f\n", &t.b[i]); for(int i = 0; i < t.nw; i++) fscanf(file, "%f\n", &t.w[i]);