]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add two comments 899/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 4 May 2015 23:07:13 +0000 (01:07 +0200)
committerMatthias Maier <tamiko@43-1.org>
Mon, 4 May 2015 23:07:20 +0000 (01:07 +0200)
include/deal.II/lac/trilinos_parallel_block_vector.h
source/lac/trilinos_vector.cc

index 3392bd4a986d93db11894a4ee6f7d1c5bf96e572..9a443a557776862544159201919c775f683bbe2f 100644 (file)
@@ -404,6 +404,7 @@ namespace TrilinosWrappers
     inline
     BlockVector::BlockVector (BlockVector &&v)
     {
+      // initialize a minimal, valid object and swap
       reinit (0);
       swap(v);
     }
index 5c34386a877616efb97177ff81fb4ec167ed49c8..6889333b4a35f25be0161657aa215334f0846f2b 100644 (file)
@@ -128,6 +128,7 @@ namespace TrilinosWrappers
 #ifdef DEAL_II_WITH_CXX11
     Vector::Vector (Vector &&v)
     {
+      // initialize a minimal, valid object and swap
       last_action = Zero;
       vector.reset(new Epetra_FEVector(Epetra_Map(0,0,0,Utilities::Trilinos::comm_self())));
 

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.