Skip to content

Commit

Permalink
Test fix plumed#417 (plumed#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi authored and carlocamilloni committed Dec 7, 2018
1 parent b354ef8 commit 0df732e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vesselbase/ActionWithVessel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ void ActionWithVessel::runAllTasks() {

// Get number of threads for OpenMP
unsigned nt=OpenMP::getNumThreads();
if( nt*stride*2>nactive_tasks || !threadSafe()) nt=1;
if( nt*stride*2>nactive_tasks || !threadSafe() || !actionIsBridged) nt=1;

// Get size for buffer
unsigned bsize=0, bufsize=getSizeOfBuffer( bsize );
Expand Down

0 comments on commit 0df732e

Please sign in to comment.