]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
OK, that didn't work :-(
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Jul 2011 00:27:42 +0000 (00:27 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Jul 2011 00:27:42 +0000 (00:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@23898 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 606e042411c26c45b8139182af68459bafa37fda..971dbb214488b1c2d9a206cac732c2ff40ad4103 100644 (file)
@@ -1940,7 +1940,8 @@ TableBase<N,T>::operator = (const TableBase<N,T2>& m)
 {
   reinit (m.size());
   if (!empty())
-    std::copy (m.values.begin(), values.begin(), n_elements());
+    std::copy (m.values.begin(), m.values.begin() + n_elements(),
+              values.begin());
 
   return *this;
 }

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.