Skip to content

Commit

Permalink
Merge branch 'release/ISC-freeze-2'
Browse files Browse the repository at this point in the history
  • Loading branch information
paboyle committed Jun 4, 2018
2 parents 5a112fe + 5dfd216 commit 251b904
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/algorithms/iterative/ImplicitlyRestartedLanczos.h
Expand Up @@ -57,9 +57,8 @@ void basisRotate(std::vector<Field> &basis,Eigen::MatrixXd& Qt,int j0, int j1, i

parallel_region
{
Vector < vobj > B; // Thread private

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

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

0 comments on commit 251b904

Please sign in to comment.