From 5dfce43fa16562698ea392fa3bc9c97166036565 Mon Sep 17 00:00:00 2001 From: LukVal54 Date: Thu, 27 Nov 2025 15:45:02 +0100 Subject: [PATCH] Anton stuff auf mein branch --- neuralNetwork.c | 2 +- neuralNetwork.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neuralNetwork.c b/neuralNetwork.c index bd8f164..8376672 100644 --- a/neuralNetwork.c +++ b/neuralNetwork.c @@ -170,7 +170,7 @@ NeuralNetwork loadModel(const char *path) static Matrix imageBatchToMatrixOfImageVectors(const GrayScaleImage images[], unsigned int count) { - Matrix matrix = {NULL, 0, 0}; + Matrix matrix = (Matrix){0, 0, NULL}; if(count > 0 && images != NULL) { diff --git a/neuralNetwork.h b/neuralNetwork.h index 7f06607..9d4f4c5 100644 --- a/neuralNetwork.h +++ b/neuralNetwork.h @@ -23,4 +23,4 @@ NeuralNetwork loadModel(const char *path); unsigned char *predict(const NeuralNetwork model, const GrayScaleImage images[], unsigned int numberOfImages); void clearModel(NeuralNetwork *model); -#endif +#endif \ No newline at end of file