From 67dd3f5eaa3ecc5ecedcc0845bef60d76406086e Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 16 Aug 2024 11:29:52 -0600 Subject: [PATCH] Tpetra: Fix is_vector_space_vector check with complex values --- source/lac/trilinos_tpetra_block_vector.cc | 8 ++++---- source/lac/trilinos_tpetra_vector.cc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/lac/trilinos_tpetra_block_vector.cc b/source/lac/trilinos_tpetra_block_vector.cc index c6e186422a..673c61b590 100644 --- a/source/lac/trilinos_tpetra_block_vector.cc +++ b/source/lac/trilinos_tpetra_block_vector.cc @@ -45,15 +45,15 @@ namespace LinearAlgebra # ifdef DEAL_II_WITH_COMPLEX_VALUES # ifdef HAVE_TPETRA_INST_COMPLEX_FLOAT # ifdef DEAL_II_HAVE_CXX20 - static_assert(concepts::is_vector_space_vector < - BlockVector>); + static_assert( + concepts::is_vector_space_vector>>); # endif template class BlockVector>; # endif # ifdef HAVE_TPETRA_INST_COMPLEX_DOUBLE # ifdef DEAL_II_HAVE_CXX20 - static_assert(concepts::is_vector_space_vector < - BlockVector>); + static_assert( + concepts::is_vector_space_vector>>); # endif template class BlockVector>; # endif diff --git a/source/lac/trilinos_tpetra_vector.cc b/source/lac/trilinos_tpetra_vector.cc index 5700eb84a5..f7f2755692 100644 --- a/source/lac/trilinos_tpetra_vector.cc +++ b/source/lac/trilinos_tpetra_vector.cc @@ -59,8 +59,8 @@ namespace LinearAlgebra # ifdef DEAL_II_WITH_COMPLEX_VALUES # ifdef HAVE_TPETRA_INST_COMPLEX_FLOAT # ifdef DEAL_II_HAVE_CXX20 - static_assert(concepts::is_vector_space_vector < - Vector>); + static_assert( + concepts::is_vector_space_vector>>); # endif template class Vector>; template Vector> & @@ -74,8 +74,8 @@ namespace LinearAlgebra # ifdef HAVE_TPETRA_INST_COMPLEX_DOUBLE # ifdef DEAL_II_HAVE_CXX20 - static_assert(concepts::is_vector_space_vector < - Vector>); + static_assert( + concepts::is_vector_space_vector>>); # endif template class Vector>; template Vector> & -- 2.39.5