From 24b60456c70ffb8f2d64a5d7ca2d2aa1a7a6ebac Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Wed, 3 Oct 2018 23:47:31 +0300 Subject: [PATCH] Version 0.2.5 - fixed ) --- src/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.c b/src/parser.c index 756d0e52..c685abee 100644 --- a/src/parser.c +++ b/src/parser.c @@ -976,7 +976,7 @@ void save_weights_upto(network net, char *filename, int cutoff) fwrite(&major, sizeof(int), 1, fp); fwrite(&minor, sizeof(int), 1, fp); fwrite(&revision, sizeof(int), 1, fp); - fwrite(net.seen, sizeof(int), 1, fp); + fwrite(net.seen, sizeof(uint64_t), 1, fp); int i; for(i = 0; i < net.n && i < cutoff; ++i){