]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Mini change that makes Borland C++ compile this file.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Feb 2003 21:17:06 +0000 (21:17 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Feb 2003 21:17:06 +0000 (21:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@7017 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/vector.h

index 8ef2dfd2b0df216e6c8c725cc794bcc50ec6781e..0b2f55df255131bc64436171e4d241e877ef14fc 100644 (file)
@@ -639,7 +639,7 @@ void Vector<Number>::reinit (const unsigned int n, const bool fast)
   if (n>maxdim)
     {
       if (val) delete[] val;
-      val = new Number[n];
+      val = new value_type[n];
       Assert (val != 0, ExcOutOfMemory());
       maxdim = n;
     };

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.