summaryrefslogtreecommitdiff
path: root/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'matrix.c')
-rw-r--r--matrix.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/matrix.c b/matrix.c
index 45f524e3..497946d2 100644
--- a/matrix.c
+++ b/matrix.c
@@ -8,8 +8,7 @@
#include "matrix.h"
-/*@ -fixedformalarray -mustdefine @*/
-bool matrix_invert(double mat[4][4], /*@out@*/ double inverse[4][4])
+bool matrix_invert(double mat[4][4], double inverse[4][4])
/* selected elements from 4x4 matrox inversion */
{
// Find all NECESSARY 2x2 subdeterminants
@@ -98,11 +97,10 @@ bool matrix_invert(double mat[4][4], /*@out@*/ double inverse[4][4])
return true;
}
-/*@ +fixedformalarray +mustdefine @*/
#ifdef __UNUSED_
// cppcheck-suppress unusedFunction
-void matrix_symmetrize(double mat[4][4], /*@out@*/ double prod[4][4])
+void matrix_symmetrize(double mat[4][4], double prod[4][4])
/* symmetrize a matrix, multiply it by its transpose */
{
int i, j, k;