From eaa8e2e670d0c7d9c31cb22e742b516938963e82 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 27 Aug 2014 11:14:57 -0400 Subject: [PATCH] Fix compilation of Vector when configured with PETSc this was introduced in e5f7ade --- include/deal.II/lac/vector.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/lac/vector.templates.h b/include/deal.II/lac/vector.templates.h index 80275ae3f2..f7a21e851e 100644 --- a/include/deal.II/lac/vector.templates.h +++ b/include/deal.II/lac/vector.templates.h @@ -499,7 +499,7 @@ Vector::Vector (const PETScWrappers::Vector &v) { if (vec_size != 0) { - iniatilize_val(max_vec_size); + allocate(max_vec_size); Assert (val != 0, ExcOutOfMemory()); // get a representation of the vector -- 2.39.5