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 {