There was a problem with the activation of the Ctrl C
This commit is contained in:
parent
030be82132
commit
bc7aee869f
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ eoContinue<Indi> & do_make_continue(eoParser& _parser, eoState& _state, eoEvalFu
|
||||||
// the CtrlC interception (Linux only I'm afraid)
|
// the CtrlC interception (Linux only I'm afraid)
|
||||||
eoCtrlCContinue<Indi> *ctrlCCont;
|
eoCtrlCContinue<Indi> *ctrlCCont;
|
||||||
eoValueParam<bool>& ctrlCParam = _parser.createParam(false, "CtrlC", "Terminate current generation upon Ctrl C",'C', "Stopping criterion");
|
eoValueParam<bool>& ctrlCParam = _parser.createParam(false, "CtrlC", "Terminate current generation upon Ctrl C",'C', "Stopping criterion");
|
||||||
if (_parser.isItThere(ctrlCParam))
|
if (ctrlCParam.value())
|
||||||
{
|
{
|
||||||
ctrlCCont = new eoCtrlCContinue<Indi>;
|
ctrlCCont = new eoCtrlCContinue<Indi>;
|
||||||
// store
|
// store
|
||||||
|
|
|
||||||
Reference in a new issue