]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation of Vector when configured with PETSc 119/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 27 Aug 2014 15:14:57 +0000 (11:14 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 27 Aug 2014 15:14:57 +0000 (11:14 -0400)
this was introduced in e5f7ade

include/deal.II/lac/vector.templates.h

index 80275ae3f277ac95290e298f91d61ca9063d31fb..f7a21e851e896d6519e117dcb114a279efbc781d 100644 (file)
@@ -499,7 +499,7 @@ Vector<Number>::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

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.