From 062521afb27ed765842ed4085e002cbf543b8ca5 Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 18 May 2020 13:26:18 -0400 Subject: [PATCH] Remove a pessimizing move. Also a GCC warning. --- MCMC-Laplace/mcmc-laplace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCMC-Laplace/mcmc-laplace.cc b/MCMC-Laplace/mcmc-laplace.cc index ef84546..ed77409 100644 --- a/MCMC-Laplace/mcmc-laplace.cc +++ b/MCMC-Laplace/mcmc-laplace.cc @@ -385,7 +385,7 @@ namespace ForwardSimulator if (nth_evaluation % 10000 == 0) timer.print_summary(); - return std::move(measurements); + return measurements; } } // namespace ForwardSimulator -- 2.39.5