Skip to content
Snippets Groups Projects
Commit 4b51a15e authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

stupid mistake in merging

parent 78d422a4
No related branches found
No related tags found
No related merge requests found
...@@ -78,13 +78,10 @@ Action::Action(const ActionOptions&ao): ...@@ -78,13 +78,10 @@ Action::Action(const ActionOptions&ao):
} }
if( plumed.getActionSet().selectWithLabel<Action*>(label) ) error("label " + label + " has been already used"); if( plumed.getActionSet().selectWithLabel<Action*>(label) ) error("label " + label + " has been already used");
log.printf(" with label %s\n",label.c_str()); log.printf(" with label %s\n",label.c_str());
<<<<<<< HEAD
if ( keywords.exists("UPDATE_FROM") ) parse("UPDATE_FROM",update_from); if ( keywords.exists("UPDATE_FROM") ) parse("UPDATE_FROM",update_from);
if(update_from!=std::numeric_limits<double>::max()) log.printf(" only update from time %f\n",update_from); if(update_from!=std::numeric_limits<double>::max()) log.printf(" only update from time %f\n",update_from);
if ( keywords.exists("UPDATE_UNTIL") ) parse("UPDATE_UNTIL",update_until); if ( keywords.exists("UPDATE_UNTIL") ) parse("UPDATE_UNTIL",update_until);
if(update_until!=std::numeric_limits<double>::max()) log.printf(" only update until time %f\n",update_until); if(update_until!=std::numeric_limits<double>::max()) log.printf(" only update until time %f\n",update_until);
=======
if ( keywords.exists("RESTART") ){ if ( keywords.exists("RESTART") ){
std::string srestart="AUTO"; std::string srestart="AUTO";
parse("RESTART",srestart); parse("RESTART",srestart);
...@@ -93,7 +90,6 @@ Action::Action(const ActionOptions&ao): ...@@ -93,7 +90,6 @@ Action::Action(const ActionOptions&ao):
else if(srestart=="AUTO") {} else if(srestart=="AUTO") {}
else error("RESTART should be either YES, NO, or AUTO"); else error("RESTART should be either YES, NO, or AUTO");
} }
>>>>>>> v2.1-per-action-restart
} }
Action::~Action(){ Action::~Action(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment