]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Same at other place.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2002 14:13:04 +0000 (14:13 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2002 14:13:04 +0000 (14:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@6713 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/table.h

index 3503edef9c787b640ccdde4613feb7ad04163930..6fd70e707f2e7a00559ffe6a3c74b643fa215be2 100644 (file)
@@ -1724,7 +1724,8 @@ TableBase<N,T>::TableBase (const TableBase<N,T2> &src)
                 val_size (0)
 {
   reinit (src.table_size);
-  fill (src.data());
+  if (src.n_elements() != 0)
+    fill (src.data());
 };
 
 

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.