Iximiel / plumed2

Development version of plumed 2
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Notes for ActionRegister #22

Open Iximiel opened 1 year ago

Iximiel commented 1 year ago
bool ActionRegister::check(const std::string & key) {
  if(m.count(key)>0 && mk.count(key)>0) return true;
  return false;
}

should be changed to

bool ActionRegister::check(const std::string & key) {
  return m.count(key)>0 && mk.count(key)>0
}