]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a missing typedef to the epetra vector wrapper. 15664/head
authorDavid Wells <drwells@email.unc.edu>
Thu, 6 Jul 2023 00:13:33 +0000 (20:13 -0400)
committerDavid Wells <drwells@email.unc.edu>
Thu, 6 Jul 2023 00:14:00 +0000 (20:14 -0400)
We need this to satisfy the vector space vector concept.

include/deal.II/lac/trilinos_epetra_vector.h

index 0c4cbb7a78097a89fd7db32828f44837b384b0c5..976cfb8d35ce8acfda2a0889c351b23de20a389e 100644 (file)
@@ -65,6 +65,7 @@ namespace LinearAlgebra
     public:
       using value_type = double;
       using size_type  = types::global_dof_index;
+      using real_type  = double;
 
       /**
        * Constructor. Create a vector of dimension zero.

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.