Skip to content

Commit

Permalink
Xpetra: fix compile error
Browse files Browse the repository at this point in the history
fixes github issue #3743
Thanks to Luc BV for suggesting the fix.
  • Loading branch information
jhux2 committed Oct 26, 2018
1 parent 9064801 commit 380f868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/xpetra/src/CrsGraph/Xpetra_TpetraCrsGraph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ namespace Xpetra {
local_graph_type getLocalGraph () const {
TEUCHOS_TEST_FOR_EXCEPTION(true, Xpetra::Exceptions::RuntimeError,
"Epetra does not support Kokkos::StaticCrsGraph!");
TEUCHOS_UNREACHABLE_RETURN(null);
TEUCHOS_UNREACHABLE_RETURN((Kokkos::StaticCrsGraph<LocalOrdinal, Kokkos::LayoutLeft, execution_space>()));
}
#endif

Expand Down Expand Up @@ -1016,7 +1016,7 @@ namespace Xpetra {
local_graph_type getLocalGraph () const {
TEUCHOS_TEST_FOR_EXCEPTION(true, Xpetra::Exceptions::RuntimeError,
"Epetra does not support Kokkos::StaticCrsGraph!");
TEUCHOS_UNREACHABLE_RETURN(null);
TEUCHOS_UNREACHABLE_RETURN((Kokkos::StaticCrsGraph<LocalOrdinal, Kokkos::LayoutLeft, execution_space>()));
}
#endif

Expand Down

0 comments on commit 380f868

Please sign in to comment.