From 6ea46ce8d90feae307f3626e0031ad071f0fd8ac Mon Sep 17 00:00:00 2001 From: Taylor Oxelgren Date: Mon, 9 Feb 2026 23:15:36 -0600 Subject: [PATCH] Added additional array to compute distance matrix --- src/main.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 59f2b5e..1ba2b35 100644 --- a/src/main.c +++ b/src/main.c @@ -39,11 +39,22 @@ int main(){ // Closing windows handler FindClose(myHandle); + float *distanceArrays[2000]; + for(int i=0;i<2000;i++){ + distanceArrays[i]=calloc(2000,sizeof(float)); + } - // Freeing the memory + + + // Freeing the memory of images for(int i=0;i