From: Matthias Maier Date: Thu, 3 May 2018 18:40:15 +0000 (-0500) Subject: Bugfix: Use the general vector interface X-Git-Tag: v9.0.0-rc1~28^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f72be45dd5ef2207a23ace57af3e37095f395664;p=dealii.git Bugfix: Use the general vector interface We should really try hard to avoid using implementation specific low level access via operator[]. --- diff --git a/include/deal.II/lac/linear_operator.h b/include/deal.II/lac/linear_operator.h index 874d795d5a..97a5a20946 100644 --- a/include/deal.II/lac/linear_operator.h +++ b/include/deal.II/lac/linear_operator.h @@ -866,15 +866,17 @@ mean_value_filter(const std::function &reinit_vector) return_op.vmult = [](Range &v, const Range &u) { const auto mean = u.mean_value(); - for (types::global_dof_index i = 0; i