From c5aa870c9b29a87e804ad620a1b6c2f71917a33b Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 28 Jan 2015 22:01:51 +0100 Subject: [PATCH] Avoid using removed deprecated function --- examples/step-37/step-37.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/step-37/step-37.cc b/examples/step-37/step-37.cc index 4686cbb0d3..0a855161e1 100644 --- a/examples/step-37/step-37.cc +++ b/examples/step-37/step-37.cc @@ -1,6 +1,6 @@ /* --------------------------------------------------------------------- * - * Copyright (C) 2009 - 2014 by the deal.II authors + * Copyright (C) 2009 - 2015 by the deal.II authors * * This file is part of the deal.II library. * @@ -1000,8 +1000,7 @@ namespace Step37 smoother_data.eig_cg_n_iterations = 10; mg_smoother.initialize(mg_matrices, smoother_data); - MGMatrix > - mg_matrix(&mg_matrices); + mg::Matrix > mg_matrix(mg_matrices); Multigrid > mg(dof_handler, mg_matrix, -- 2.39.5