From: Jean-Paul Pelteret Date: Wed, 1 Feb 2017 10:47:38 +0000 (+0100) Subject: Re-add reinit functions to null_operator X-Git-Tag: v8.5.0-rc1~161^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf7235d11c2c874e3a4b24e0ab310bd4997457c5;p=dealii.git Re-add reinit functions to null_operator --- diff --git a/include/deal.II/lac/linear_operator.h b/include/deal.II/lac/linear_operator.h index d0fa73dbfc..cde2a61bec 100644 --- a/include/deal.II/lac/linear_operator.h +++ b/include/deal.II/lac/linear_operator.h @@ -840,6 +840,9 @@ null_operator(const LinearOperator &op) return_op.is_null_operator = true; + return_op.reinit_range_vector = op.reinit_range_vector; + return_op.reinit_domain_vector = op.reinit_domain_vector; + return_op.vmult = [](Range &v, const Domain &) { v = 0.;