From 713cb6aab91f1dbd4ecc198eb2d9442381e2a2a2 Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@math.fu-berlin.de> Date: Thu, 10 Nov 2016 14:02:28 +0100 Subject: [PATCH] Use base class constructors to add construction from given maxtrix --- .../transferoperators/truncatedcompressedmgtransfer.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dune/solvers/transferoperators/truncatedcompressedmgtransfer.hh b/dune/solvers/transferoperators/truncatedcompressedmgtransfer.hh index 88ad9d0a..24160876 100644 --- a/dune/solvers/transferoperators/truncatedcompressedmgtransfer.hh +++ b/dune/solvers/transferoperators/truncatedcompressedmgtransfer.hh @@ -41,11 +41,9 @@ class TruncatedCompressedMGTransfer : public: typedef typename Base::TransferOperatorType TransferOperatorType; - /** \brief Default constructor */ - TruncatedCompressedMGTransfer() - {} + using Base::Base; /** \brief Restrict level fL of f and store the result in level cL of t */ void restrict(const VectorType& f, VectorType &t) const; -- GitLab