Final Version

This commit is contained in:
Frederik Beimgraben 2025-01-13 03:12:38 +01:00
parent 73ff58d6d3
commit f006441de6
2 changed files with 1 additions and 2 deletions

View File

@ -624,7 +624,6 @@ void deleteSignal(MMSignal *pmmsIn) {
double calculateArea(double *pdIn, int iLen) {
double area = 0;
// #FIXME: Which one should we use according to the task?
for (int i = 0; i < iLen; i++) {
/* Alternative would be:
* area += (pdIn[i] + pdIn[i+1]) / 2;

View File

@ -1,6 +1,6 @@
CC=gcc
SOURCE_FILE=MMS24-25.c
OPTS=-lm -std=c99 -D _DEBUG_
OPTS=-lm -D _DEBUG_
all: clean tests run