From 490042f8e15eb0a761f4260d8850f92dd7b595fe Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 30 Jun 2015 15:01:44 +0100 Subject: [PATCH] big commit fixing nocompiles in defective C++11 compilers (gcc, icpc). stared getting to near the bleeding edge I guess --- benchmarks/Benchmark_dwf.cc | 2 +- benchmarks/Benchmark_wilson.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/Benchmark_dwf.cc b/benchmarks/Benchmark_dwf.cc index 62869b17..290bf1df 100644 --- a/benchmarks/Benchmark_dwf.cc +++ b/benchmarks/Benchmark_dwf.cc @@ -59,7 +59,7 @@ int main (int argc, char ** argv) //////////////////////////////////// std::vector U(4,FGrid); for(int mu=0;mu(Umu5d,mu); + U[mu] = PeekIndex(Umu5d,mu); } if (1) diff --git a/benchmarks/Benchmark_wilson.cc b/benchmarks/Benchmark_wilson.cc index c1050098..7d1bd8df 100644 --- a/benchmarks/Benchmark_wilson.cc +++ b/benchmarks/Benchmark_wilson.cc @@ -63,7 +63,7 @@ int main (int argc, char ** argv) #endif for(int mu=0;mu(Umu,mu); + U[mu] = PeekIndex(Umu,mu); } { // Naive wilson implementation