]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix one more omission.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 12 Sep 2002 22:34:30 +0000 (22:34 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 12 Sep 2002 22:34:30 +0000 (22:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@6414 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/tensor.cc

index b7aa84a787eb2e9fcf76bb9482abd7c32f81c940..fb74015428ec8db905f08dec4313fdf5bdbd9322 100644 (file)
@@ -43,8 +43,8 @@ void
 Tensor<rank_, dim>::unroll (Vector<double> &result) const
 {
   Assert(result.size()==std::pow(static_cast<double>(dim),rank_),
-        ExcWrongVectorSize(static_cast<unsigned int>(std::pow(static_cast<double>(dim),rank_)),
-                           result.size()));
+        ExcDimensionMismatch(static_cast<unsigned int>(std::pow(static_cast<double>(dim),rank_)),
+                              result.size()));
 
   unsigned index = 0;
   unroll_recursion (result, index);

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.