From b0de7ab7db06748f470cde7acc7e08062af03243 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 23 Apr 2019 21:50:45 +0100 Subject: [PATCH] Extra do nothing guesser --- Grid/algorithms/iterative/Deflation.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Grid/algorithms/iterative/Deflation.h b/Grid/algorithms/iterative/Deflation.h index ceba1c09..8df67b3c 100644 --- a/Grid/algorithms/iterative/Deflation.h +++ b/Grid/algorithms/iterative/Deflation.h @@ -35,7 +35,11 @@ class ZeroGuesser: public LinearFunction { public: virtual void operator()(const Field &src, Field &guess) { guess = zero; }; }; - +template +class DoNothingGuesser: public LinearFunction { +public: + virtual void operator()(const Field &src, Field &guess) { }; +}; template class SourceGuesser: public LinearFunction { public: