]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Re-add reinit functions to null_operator
authorJean-Paul Pelteret <jppelteret@gmail.com>
Wed, 1 Feb 2017 10:47:38 +0000 (11:47 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Wed, 1 Feb 2017 10:47:38 +0000 (11:47 +0100)
include/deal.II/lac/linear_operator.h

index d0fa73dbfc530a67abf0df4b2f7525da7d9127f3..cde2a61becdeffcac09a43c35e15c60d4993fa18 100644 (file)
@@ -840,6 +840,9 @@ null_operator(const LinearOperator<Range, Domain, Payload> &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.;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.