From: Wolfgang Bangerth Date: Sat, 8 Apr 2023 03:30:09 +0000 (-0600) Subject: Avoid a warning about overriding a function. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F126%2Fhead;p=code-gallery.git Avoid a warning about overriding a function. --- diff --git a/MCMC-Laplace/mcmc-laplace.cc b/MCMC-Laplace/mcmc-laplace.cc index 1c5a752..75731f8 100644 --- a/MCMC-Laplace/mcmc-laplace.cc +++ b/MCMC-Laplace/mcmc-laplace.cc @@ -542,7 +542,7 @@ namespace ProposalGenerator virtual std::pair,double> - perturb(const Vector ¤t_sample) const; + perturb(const Vector ¤t_sample) const override; private: const double log_sigma;