]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix oversight.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Nov 2010 13:15:28 +0000 (13:15 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Nov 2010 13:15:28 +0000 (13:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@22570 0785d39b-7218-0410-832d-ea1e28bc413d

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

index d940eaf6271f4751284a0b6c0facb3353b17f14d..7903ab087f2dc1020f0b5cbcb9aa4d0ea49a4613 100644 (file)
@@ -1940,7 +1940,7 @@ void
 TableBase<N,T>::fill (const T& value)
 {
   if (n_elements() != 0)
-    std::fill (values.begin(), values.end(), T());
+    std::fill (values.begin(), values.end(), value);
 }
 
 

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.