mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	VA_ARGS to make comma safe automatic
This commit is contained in:
		@@ -674,11 +674,11 @@ public:
 | 
			
		||||
 | 
			
		||||
    timer.Start();
 | 
			
		||||
    std::vector<RNGstate> iodata(lsites);
 | 
			
		||||
    thread_loop( (int lidx=0;lidx<lsites;lidx++),COMMA_SAFE({
 | 
			
		||||
    thread_loop( (int lidx=0;lidx<lsites;lidx++),{
 | 
			
		||||
      std::vector<RngStateType> tmp(RngStateCount);
 | 
			
		||||
      parallel.GetState(tmp,lidx);
 | 
			
		||||
      std::copy(tmp.begin(),tmp.end(),iodata[lidx].begin());
 | 
			
		||||
    }));
 | 
			
		||||
    });
 | 
			
		||||
    timer.Stop();
 | 
			
		||||
 | 
			
		||||
    IOobject(w,grid,iodata,file,offset,format,BINARYIO_WRITE|BINARYIO_LEXICOGRAPHIC,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user