]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Provide a default template parameter for VectorReference's MemorySpace 16565/head
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 31 Jan 2024 13:05:21 +0000 (08:05 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 31 Jan 2024 13:05:21 +0000 (08:05 -0500)
include/deal.II/lac/trilinos_tpetra_vector.h

index feea186481b13a757a672bf06c38c956090b4359..e44572e30875e314de3a85cf1c0d3116efe00172 100644 (file)
@@ -125,7 +125,8 @@ namespace LinearAlgebra
        *
        * @ingroup TpetraWrappers
        */
-      template <typename Number, typename MemorySpace>
+      template <typename Number,
+                typename MemorySpace = dealii::MemorySpace::Host>
       class VectorReference
       {
       private:

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.