From bf7235d11c2c874e3a4b24e0ab310bd4997457c5 Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Wed, 1 Feb 2017 11:47:38 +0100 Subject: [PATCH] Re-add reinit functions to null_operator --- include/deal.II/lac/linear_operator.h | 3 +++ 1 file changed, 3 insertions(+) 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.; -- 2.39.5