From e57bc34afe6a66b22684387e79c6638bf063f48f Mon Sep 17 00:00:00 2001 From: Azusa Yamaguchi Date: Sun, 14 Jun 2015 00:50:26 +0100 Subject: [PATCH] Minor change --- tests/Test_cshift.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Test_cshift.cc b/tests/Test_cshift.cc index 85f8529c..e571a338 100644 --- a/tests/Test_cshift.cc +++ b/tests/Test_cshift.cc @@ -66,7 +66,8 @@ int main (int argc, char ** argv) nrm = abs(scm-cm()()()); std::vector peer(4); - int index=real(cm); + Complex tmp =cm; + Integer index=real(tmp); Fine.CoorFromIndex(peer,index,latt_size); if (nrm > 0){