From 194f6bf45ec4a6a7d97699a8761b6970761447ca Mon Sep 17 00:00:00 2001 From: evomarc Date: Tue, 5 Mar 2002 05:34:27 +0000 Subject: [PATCH] Changed the reading of parameter resDir from createParam to getORcreateParam so it can be used in other parts of hte program (it's handy to put all disk outputs in one dir). --- eo/src/do/make_checkpoint_pareto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo/src/do/make_checkpoint_pareto.h b/eo/src/do/make_checkpoint_pareto.h index 7d638b37..4acd0295 100644 --- a/eo/src/do/make_checkpoint_pareto.h +++ b/eo/src/do/make_checkpoint_pareto.h @@ -69,7 +69,7 @@ eoCheckPoint& do_make_checkpoint_pareto(eoParser& _parser, eoState& _state, checkpoint.add(increment); // dir for DISK output - string & dirName = _parser.createParam(string("Res"), "resDir", "Directory to store DISK outputs", '\0', "Output - Disk").value(); + string & dirName = _parser.getORcreateParam(string("Res"), "resDir", "Directory to store DISK outputs", '\0', "Output - Disk").value(); // shoudl we empty it if exists eoValueParam& eraseParam = _parser.createParam(true, "eraseDir", "erase files in dirName if any", '\0', "Output - Disk"); bool dirOK = false; // not tested yet