diff --git a/src/core/Action.cpp b/src/core/Action.cpp index f54c3a7526ee0e207ab4645c4272bb62cb1e2442..1d1ff76ead8936cb598bcbd7e37cf68ebfbac50c 100644 --- a/src/core/Action.cpp +++ b/src/core/Action.cpp @@ -265,6 +265,11 @@ bool Action::checkUpdate()const { else return false; } +bool Action::getCPT()const { + return plumed.getCPT(); +} + + } diff --git a/src/core/Action.h b/src/core/Action.h index 89cea1f6e44277ae8c3ea243cbb9bdf862ea4d51..291d9a77731a094f36695a9a86b2a98329b1d63b 100644 --- a/src/core/Action.h +++ b/src/core/Action.h @@ -426,11 +426,6 @@ bool Action::getRestart()const { return restart; } -inline -bool Action::getCPT()const { - return doCheckPoint; -} - } #endif