From: Matthias Maier Date: Fri, 14 Jul 2017 18:17:19 +0000 (-0500) Subject: Bugfix: Initialize with a linear_operator X-Git-Tag: v9.0.0-rc1~1416^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec5e3ff29e5e356b37d7fd33eef19237ca4b2c0;p=dealii.git Bugfix: Initialize with a linear_operator --- diff --git a/include/deal.II/multigrid/mg_smoother.h b/include/deal.II/multigrid/mg_smoother.h index 8ff6c6609a..29726dc887 100644 --- a/include/deal.II/multigrid/mg_smoother.h +++ b/include/deal.II/multigrid/mg_smoother.h @@ -1036,7 +1036,7 @@ MGSmootherPrecondition::initialize for (unsigned int i=min; i<=max; ++i) { - matrices[i] = &m[i]; + matrices[i] = linear_operator(m[i]); smoothers[i].initialize(m[i], data[i]); } }