From 6a697be06081c1a2be28c13bc510616a9369579f Mon Sep 17 00:00:00 2001 From: Azusa Yamaguchi Date: Sun, 14 Jun 2015 01:02:31 +0100 Subject: [PATCH] Transpose always returns self image --- lib/lattice/Lattice_transpose.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/lattice/Lattice_transpose.h b/lib/lattice/Lattice_transpose.h index c8e7433f..73ef1747 100644 --- a/lib/lattice/Lattice_transpose.h +++ b/lib/lattice/Lattice_transpose.h @@ -24,8 +24,7 @@ PARALLEL_FOR_LOOP // Index level dependent transpose //////////////////////////////////////////////////////////////////////////////////////////////////// template - inline auto transposeIndex(const Lattice &lhs) - -> Lattice(lhs._odata[0]))> + inline auto transposeIndex(const Lattice &lhs) -> Lattice(lhs._odata[0]))> { Lattice(lhs._odata[0]))> ret(lhs._grid); PARALLEL_FOR_LOOP