]> https://gitweb.dealii.org/ - dealii.git/commitdiff
PETScWrappers::TimeStepper: fix typo 15880/head
authorStefano Zampini <stefano.zampini@gmail.com>
Tue, 15 Aug 2023 16:28:16 +0000 (00:28 +0800)
committerStefano Zampini <stefano.zampini@gmail.com>
Tue, 15 Aug 2023 16:28:16 +0000 (00:28 +0800)
 use VectorType, not VectorBase

include/deal.II/lac/petsc_ts.templates.h

index 050cb2e962c849039ea5474eeebffef8868d3c3e..0c20798786f919be414667310c4396490815bf38 100644 (file)
@@ -1092,8 +1092,8 @@ namespace PETScWrappers
         AssertPETSc(VecDuplicate(py, &av));
         AssertPETSc(VecDuplicate(py, &rv));
 
-        VectorBase avdealii(av);
-        VectorBase rvdealii(rv);
+        VectorType avdealii(av);
+        VectorType rvdealii(rv);
         avdealii = atol;
         rvdealii = rtol;
         for (auto i : algebraic_components())

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.