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

Bug fix

Was introduced with CamShift (my mistake in suggesting a hack to Carlo).

In fact, because of the way stopwatches are implemented, it is not
possible to call plumed.cmd recursively. I made a quick fix (the
right fix would be to adjust stopwatches)
parent 9223c1f7
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ void GREX::cmd(const string&key,void*val){
}else if(key=="setMPIIntercomm"){
CHECK_NOTINIT(initialized,key);
intercomm.Set_comm(val);
plumedMain.cmd("setMPImultiSimComm",&intercomm.Get_comm());
plumedMain.multi_sim_comm.Set_comm(val);
}else if(key=="init"){
CHECK_NOTINIT(initialized,key);
initialized=true;
......
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