1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-28 02:07:07 +01:00

Compile tests fix

This commit is contained in:
Peter Boyle
2019-06-16 13:59:29 +01:00
parent d976e5c514
commit 703dc20377
3 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ using namespace Grid;
int main (int argc, char ** argv)
{
#ifndef GRID_NVCC
Grid_init(&argc,&argv);
auto latt_size = GridDefaultLatt();
@@ -192,4 +193,5 @@ int main (int argc, char ** argv)
Grid_finalize();
#endif
}

View File

@@ -242,7 +242,7 @@ public:
FineField vec1(src.Grid());
FineField vec2(src.Grid());
const Integer block=params.domainsize;
const RealD block=params.domainsize;
subset=Zero();
for(int mu=0;mu<Nd;mu++){