1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-05-26 12:04:17 +01:00

cuda 9.1 fixes

This commit is contained in:
Peter Boyle
2019-07-01 07:29:22 +01:00
parent 6a13731818
commit 532e226b22
3 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ public:
ComplexField coor(in.Grid());
ComplexField ph(in.Grid()); ph = Zero();
FermionField in_buf(in.Grid()); in_buf = Zero();
Complex ci(0.0,1.0);
typedef typename Simd::scalar_type Scalar;
Scalar ci(0.0,1.0);
assert(twist.size() == Nd);//check that twist is Nd
int shift = 0;
if(fiveD) shift = 1;