From 5dc255ab0e7b834bcbe2d78aaca9fa3ad82fb8f8 Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Tue, 9 May 2017 18:40:58 +0200 Subject: [PATCH] Fix in getCPT() --- src/core/Action.cpp | 5 +++++ src/core/Action.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/Action.cpp b/src/core/Action.cpp index f54c3a752..1d1ff76ea 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 89cea1f6e..291d9a777 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 -- GitLab