From b0a473f6d467abb255b16337af4ced789c7db39c Mon Sep 17 00:00:00 2001 From: FMGS666 Date: Thu, 9 Nov 2023 22:40:18 +0100 Subject: [PATCH] Adapting the code to the heavy refactoring of the last period Patching after review, history should now be clean and ready for the final merge --- code-experiments/build/c/Makefile | 36 ------------------------- code-experiments/src/suite_largescale.c | 2 +- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 code-experiments/build/c/Makefile diff --git a/code-experiments/build/c/Makefile b/code-experiments/build/c/Makefile deleted file mode 100644 index 222a5d838..000000000 --- a/code-experiments/build/c/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -## Makefile to build C example programs included with the COCO distribution -## -## NOTE: We have tried to make this Makefile as generic and portable -## as possible. However, there are many (incompatible) versions of -## make floating around. We regularly test using GNU make and BSD make -## from FreeBSD. If you have trouble compiling the examples, please -## try to use GNU make. -## -## On Windows it is best to use either the included NMakefile by running -## -## nmake -f NMakefile -## -## or installing Cygwin and running GNU make from within Cygwin. - -LDFLAGS += -lm -CCFLAGS ?= -g -ggdb -std=c99 -pedantic -Wall -Wextra -Wstrict-prototypes -Wshadow -Wno-sign-compare -Wconversion - -######################################################################## -## Toplevel targets -all: example_experiment - -clean: - rm -f coco.o - rm -f example_experiment.o example_experiment - -######################################################################## -## Programs -example_experiment: example_experiment.o coco.o - ${CC} ${CCFLAGS} -o example_experiment coco.o example_experiment.o ${LDFLAGS} - -######################################################################## -## Additional dependencies -coco.o: coco.h coco.c - ${CC} -c ${CCFLAGS} -o coco.o coco.c -example_experiment.o: coco.h coco.c example_experiment.c - ${CC} -c ${CCFLAGS} -o example_experiment.o example_experiment.c diff --git a/code-experiments/src/suite_largescale.c b/code-experiments/src/suite_largescale.c index a6c168078..112f8e25c 100644 --- a/code-experiments/src/suite_largescale.c +++ b/code-experiments/src/suite_largescale.c @@ -102,7 +102,7 @@ static coco_problem_t *coco_get_largescale_problem(const size_t function, problem_id_template, problem_name_template); } else if (function == 10) { problem = f_ellipsoid_permblockdiag_bbob_problem_allocate(function, dimension, instance, rseed, - problem_id_template, problem_name_template); + problem_id_template, problem_name_template); } else if (function == 11) { problem = f_discus_generalized_permblockdiag_bbob_problem_allocate(function, dimension, instance, rseed, problem_id_template, problem_name_template);