Revert "neuralNetwork fixed". The root cause has been fixed in matrix.h

This reverts commit 6ba9ba319592ac3aac15723ad549f1389b5c9718.
This commit is contained in:
Simon Wiesend 2025-11-25 13:38:56 +01:00
parent 6ba9ba3195
commit 12825cc1d3
Signed by untrusted user who does not match committer: wiesendsi102436
GPG Key ID: C18A833054142CF0

View File

@ -170,7 +170,7 @@ NeuralNetwork loadModel(const char *path)
static Matrix imageBatchToMatrixOfImageVectors(const GrayScaleImage images[], unsigned int count) static Matrix imageBatchToMatrixOfImageVectors(const GrayScaleImage images[], unsigned int count)
{ {
Matrix matrix = {0, 0, NULL}; Matrix matrix = {NULL, 0, 0};
if(count > 0 && images != NULL) if(count > 0 && images != NULL)
{ {