Skip to content

Commit

Permalink
polishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4rtaz committed May 27, 2024
1 parent 5e84e46 commit 589519b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/transformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,7 @@ Transformer Transformer::loadRoot(char* data, TransformerSpec* spec, SocketPool*

long missedBytes = (long)(w - data) - spec->fileSize + spec->headerSize;
if (missedBytes != 0) {
printf("Missed %ld bytes\n", missedBytes);
printf("File Size %ld bytes\n", spec->fileSize);
printf("Header Size %ld bytes\n", spec->headerSize);
printf("The model file is missing %ld bytes\n", missedBytes);
exit(EXIT_FAILURE);
}

Expand Down

0 comments on commit 589519b

Please sign in to comment.