From c760ae6171c70c81f765cb5c688a6d6d7c2565f9 Mon Sep 17 00:00:00 2001 From: Max Braun Date: Sat, 11 Nov 2023 19:00:00 -0800 Subject: [PATCH] Fix typo in runq.c comment --- runq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runq.c b/runq.c index 8c95a912..001d3182 100644 --- a/runq.c +++ b/runq.c @@ -224,7 +224,7 @@ void read_checkpoint(char* checkpoint, Config* config, TransformerWeights* weigh uint32_t magic_number; if (fread(&magic_number, sizeof(uint32_t), 1, file) != 1) { exit(EXIT_FAILURE); } if (magic_number != 0x616b3432) { fprintf(stderr, "Bad magic number\n"); exit(EXIT_FAILURE); } - // read in the version number (uint32), has to be 1 + // read in the version number (uint32), has to be 2 int version; if (fread(&version, sizeof(int), 1, file) != 1) { exit(EXIT_FAILURE); } if (version != 2) { fprintf(stderr, "Bad version %d, need version 2\n", version); exit(EXIT_FAILURE); }