From: Daniel Arndt Date: Mon, 30 Apr 2018 23:24:30 +0000 (+0200) Subject: Change style of array access X-Git-Tag: v9.0.0-rc1~54^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8460ddfc43b395cd3d1ca7728a94ea5da3ff4005;p=dealii.git Change style of array access --- diff --git a/include/deal.II/lac/la_parallel_vector.templates.h b/include/deal.II/lac/la_parallel_vector.templates.h index fd40922872..3cb3b2036c 100644 --- a/include/deal.II/lac/la_parallel_vector.templates.h +++ b/include/deal.II/lac/la_parallel_vector.templates.h @@ -518,7 +518,7 @@ namespace LinearAlgebra Vector::zero_out_ghosts () const { if (values != nullptr) - std::fill_n (&values[partitioner->local_size()], + std::fill_n (values.get()+partitioner->local_size(), partitioner->n_ghost_indices(), Number()); vector_is_ghosted = false;