From 8460ddfc43b395cd3d1ca7728a94ea5da3ff4005 Mon Sep 17 00:00:00 2001
From: Daniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Date: Tue, 1 May 2018 01:24:30 +0200
Subject: [PATCH] Change style of array access

---
 include/deal.II/lac/la_parallel_vector.templates.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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<Number>::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;
-- 
2.39.5