summaryrefslogtreecommitdiff
path: root/matrix.c
diff options
context:
space:
mode:
authorJasper2025-09-09 12:18:50 +0200
committerJasper2025-09-09 12:18:50 +0200
commit368f17a4142221a851784b9da37a985c806f5fcc (patch)
tree4e68d75e23d3f55435e491065a987ea713e7a9b3 /matrix.c
parent5fd2f59d9f30253cb0c64a06a4a305e90b89e3ae (diff)
Removed useless declaration in LR decomposition
Diffstat (limited to 'matrix.c')
-rw-r--r--matrix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/matrix.c b/matrix.c
index 5038b91..646be42 100644
--- a/matrix.c
+++ b/matrix.c
@@ -339,7 +339,6 @@ Matrix **matrix_LR(const Matrix *A, const Vector *b)
Matrix **result = malloc(sizeof(Matrix) * 2);
result[0] = L;
result[1] = A_curr;
- result[2] = NULL;
return result;
}