]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Avoid a warning about overriding a function. 126/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 8 Apr 2023 03:30:09 +0000 (21:30 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 8 Apr 2023 03:30:09 +0000 (21:30 -0600)
MCMC-Laplace/mcmc-laplace.cc

index 1c5a7526608eeb18a26e6287915c91f4a0787e66..75731f8edc144984864e4ed2159f6bf29a53e758 100644 (file)
@@ -542,7 +542,7 @@ namespace ProposalGenerator
 
     virtual
     std::pair<Vector<double>,double>
-    perturb(const Vector<double> &current_sample) const;
+    perturb(const Vector<double> &current_sample) const override;
 
   private:
     const double         log_sigma;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.