mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-22 23:23:19 +01:00
Typing
This commit is contained in:
1 parent
31ab4c4c35
commit
5484607ef2
1 file changed
+4
-2
@@ -100,7 +100,8 @@ int main (int argc, char ** argv)
|
|||||||
|
|
||||||
double nrm = abs(scm-cm()()());
|
double nrm = abs(scm-cm()()());
|
||||||
std::vector<int> peer(4);
|
std::vector<int> peer(4);
|
||||||
int index=real(cm);
|
Complex ctmp = cm;
|
||||||
|
Integer index=real(ctmp);
|
||||||
Fine.CoorFromIndex(peer,index,latt_size);
|
Fine.CoorFromIndex(peer,index,latt_size);
|
||||||
|
|
||||||
if (nrm > 0){
|
if (nrm > 0){
|
||||||
@@ -138,7 +139,8 @@ int main (int argc, char ** argv)
|
|||||||
|
|
||||||
nrm = abs(scm-cm()()());
|
nrm = abs(scm-cm()()());
|
||||||
std::vector<int> peer(4);
|
std::vector<int> peer(4);
|
||||||
int index=real(cm);
|
Complex ctmp=cm;
|
||||||
|
Integer index=real(ctmp);
|
||||||
Fine.CoorFromIndex(peer,index,latt_size);
|
Fine.CoorFromIndex(peer,index,latt_size);
|
||||||
|
|
||||||
if (nrm > 0){
|
if (nrm > 0){
|
||||||
|
|||||||
Reference in new issue
Block a user