1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 01:35:36 +00:00

QedFVol: Change variables of type "double" to type "Real".

This commit is contained in:
James Harrison 2016-11-01 13:30:11 +00:00
parent 00a7b95631
commit 78c7bcee36

View File

@ -90,8 +90,8 @@ int main(int argc, char *argv[])
} }
} }
double vol = grid.gSites(); Real vol = grid.gSites();
double faces = (1.0 * Nd * (Nd - 1)) / 2.0; Real faces = (1.0 * Nd * (Nd - 1)) / 2.0;
Complex avgPlaqA = sum(trace(plaqA)); Complex avgPlaqA = sum(trace(plaqA));
avgPlaqA = avgPlaqA / vol / faces; avgPlaqA = avgPlaqA / vol / faces;