fixed determinant init

This commit is contained in:
Marius Eggert 2023-01-16 10:07:14 +01:00
parent db763e394d
commit 153c62337f

View File

@ -279,7 +279,7 @@ class MathOperations {
}
static void inverseMatrixDimThree(const T1 *matrix, T1 *output) {
int i, j;
double determinant;
double determinant = 0;
double mat[3][3] = {{matrix[0], matrix[1], matrix[2]},
{matrix[3], matrix[4], matrix[5]},
{matrix[6], matrix[7], matrix[8]}};