summaryrefslogtreecommitdiff
path: root/vector.c
diff options
context:
space:
mode:
authorJasper2025-09-08 15:47:52 +0200
committerJasper2025-09-08 15:47:52 +0200
commite99c921808989b0b242ccfa1aa6edd74871bc213 (patch)
tree55ccde8d441f556e8859febf44fe5717d22351ae /vector.c
parentf8d2ae65bba18ae79695111960a74507cdda0132 (diff)
Used forward declaration in vector.h
Also added tag 'Matrix' to struct 'Matrix'. Makes forwards declaration available for 'Matrix'. Avoids having to import matrix.h in vector.h (and the other way around), when accessing matrix functionality.
Diffstat (limited to 'vector.c')
-rw-r--r--vector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vector.c b/vector.c
index 0ea8152..48b1901 100644
--- a/vector.c
+++ b/vector.c
@@ -1,5 +1,6 @@
#include "vector.h"
+#include "matrix.h"
#include "utils.h"
#include <math.h>