From 64fb5d2c4510ed560d7b1af90ddd5bd51734e04d Mon Sep 17 00:00:00 2001 From: ldacosta Date: Fri, 28 Mar 2008 16:09:40 +0000 Subject: [PATCH] Change in do_make_checkpoint: it receives not just a parameter from the evaluation function, not the function itself!! --- eo/src/do/make_checkpoint.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/eo/src/do/make_checkpoint.h b/eo/src/do/make_checkpoint.h index f18943df..dcb99c07 100644 --- a/eo/src/do/make_checkpoint.h +++ b/eo/src/do/make_checkpoint.h @@ -82,15 +82,16 @@ bool testDirRes(std::string _dirName, bool _erase); - +/** + * + * CHANGE (March 2008): now receiving an eoValueParam instead of an eoEvalFuncCounter. This function is just interested + * in the value of the parameter calculated on the evaluation function, not in the actual function itself!! +*/ template - -eoCheckPoint& do_make_checkpoint(eoParser& _parser, eoState& _state, eoEvalFuncCounter& _eval, eoContinue& _continue) - +eoCheckPoint& do_make_checkpoint(eoParser& _parser, eoState& _state, eoValueParam& _eval, eoContinue& _continue) { // first, create a checkpoint from the eoContinue - eoCheckPoint *checkpoint = new eoCheckPoint(_continue); _state.storeFunctor(checkpoint);