From 5d7e0d18b96758a463fb91fb525306fd394b0a93 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Fri, 7 Apr 2023 14:30:38 +0100 Subject: [PATCH] virtual destructor for LinearOperator --- Grid/algorithms/LinearOperator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Grid/algorithms/LinearOperator.h b/Grid/algorithms/LinearOperator.h index 090fed46..5096231d 100644 --- a/Grid/algorithms/LinearOperator.h +++ b/Grid/algorithms/LinearOperator.h @@ -542,6 +542,7 @@ public: (*this)(in[i], out[i]); } } + virtual ~LinearFunction(){}; }; template class IdentityLinearFunction : public LinearFunction {