]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Remove a pessimizing move.
authorDavid Wells <drwells@email.unc.edu>
Mon, 18 May 2020 17:26:18 +0000 (13:26 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 18 May 2020 17:26:18 +0000 (13:26 -0400)
Also a GCC warning.

MCMC-Laplace/mcmc-laplace.cc

index ef84546e29871d5ea0c9cf2588809a9319fbd871..ed77409ee649db76a352ccc635245bb3dfacabe8 100644 (file)
@@ -385,7 +385,7 @@ namespace ForwardSimulator
     if (nth_evaluation % 10000 == 0)
       timer.print_summary();
 
-    return std::move(measurements);
+    return measurements;
   }
 } // namespace ForwardSimulator
 

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.