Skip to content

Commit 251b904

Browse files
committed
Merge branch 'release/ISC-freeze-2'
2 parents 5a112fe + 5dfd216 commit 251b904

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/algorithms/iterative/ImplicitlyRestartedLanczos.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ void basisRotate(std::vector<Field> &basis,Eigen::MatrixXd& Qt,int j0, int j1, i
5757

5858
parallel_region
5959
{
60-
Vector < vobj > B; // Thread private
6160

62-
PARALLEL_CRITICAL { B.resize(Nm); }
61+
std::vector < vobj , commAllocator<vobj> > B(Nm); // Thread private
6362

6463
parallel_for_internal(int ss=0;ss < grid->oSites();ss++){
6564
for(int j=j0; j<j1; ++j) B[j]=0.;

0 commit comments

Comments
 (0)