]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix trilinos_tpetra_vector.h 16207/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 27 Oct 2023 17:42:01 +0000 (13:42 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 27 Oct 2023 17:42:01 +0000 (13:42 -0400)
include/deal.II/lac/trilinos_tpetra_vector.h

index e53d38d15cb7b1baba72cb14382da9598531710a..847c68869ba7833568e192b6b7d60386bc7ea4ae 100644 (file)
@@ -817,7 +817,7 @@ namespace LinearAlgebra
         Tpetra::Access::ReadWrite);
 #  else
       vector->template sync<Kokkos::HostSpace>();
-      auto vector_2d = vector.template getLocalView<Kokkos::HostSpace>();
+      auto vector_2d = vector->template getLocalView<Kokkos::HostSpace>();
 #  endif
       auto vector_1d = Kokkos::subview(vector_2d, Kokkos::ALL(), 0);
 #  if !DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0)

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.