This commit is contained in:
Tobias Linz committed 2026-11-12 10:45:47 +01:00
1 parent 6c6d102d84
commit 4cc74b50f1
2 files changed
+4

No files matched your search

+3
View File
@@ -180,6 +180,9 @@ static void writeDimension(FILE *file, const unsigned int dimension)
static void writeMatrix(FILE *file, const Matrix matrix)
{
if (matrix.buffer == NULL)
return;
fwrite(matrix.buffer, sizeof(MatrixType), matrix.rows * matrix.cols, file);
}