mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-28 00:23:18 +00:00
Solve g++ problem on the lanczos test
This commit is contained in:
1 parent
bf96a4bdbf
commit
c2e8d0aa88
1 file changed
+3
-1
@@ -57,7 +57,9 @@ void basisRotate(std::vector<Field> &basis,Eigen::MatrixXd& Qt,int j0, int j1, i
|
||||
|
||||
parallel_region
|
||||
{
|
||||
std::vector < vobj > B(Nm); // Thread private
|
||||
Vector < vobj > B; // Thread private
|
||||
|
||||
PARALLEL_CRITICAL { B.resize(Nm); }
|
||||
|
||||
parallel_for_internal(int ss=0;ss < grid->oSites();ss++){
|
||||
for(int j=j0; j<j1; ++j) B[j]=0.;
|
||||
|
||||
Reference in new issue
Block a user