From 0e6fa6f6b86201e451c0883fb125f9e7f433e156 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 24 Oct 2023 10:56:31 -0400 Subject: [PATCH] DOn't need the Cshift for the period optimisation --- Grid/lattice/PaddedCell.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Grid/lattice/PaddedCell.h b/Grid/lattice/PaddedCell.h index e50343d9..8e78bb13 100644 --- a/Grid/lattice/PaddedCell.h +++ b/Grid/lattice/PaddedCell.h @@ -291,13 +291,13 @@ public: return tmp; } template - inline Lattice ExchangePeriodic(const Lattice &in, const CshiftImplBase &cshift = CshiftImplDefault()) const + inline Lattice ExchangePeriodic(const Lattice &in) const { GridBase *old_grid = in.Grid(); int dims = old_grid->Nd(); Lattice tmp = in; for(int d=0;d - inline Lattice ExpandPeriodic(int dim, const Lattice &in, const CshiftImplBase &cshift = CshiftImplDefault()) const + inline Lattice ExpandPeriodic(int dim, const Lattice &in) const { Coordinate processors=unpadded_grid->_processors; GridBase *old_grid = in.Grid();