mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
VA_ARGS to make comma safe automatic
This commit is contained in:
parent
d6fce3e498
commit
f102897385
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user