From: Daniel Arndt Date: Fri, 16 Aug 2024 17:29:52 +0000 (-0600) Subject: Tpetra: Fix is_vector_space_vector check with complex values X-Git-Tag: v9.6.1~4^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04e7dbe6c99b377db0c50402163c19dafdf95447;p=dealii.git Tpetra: Fix is_vector_space_vector check with complex values --- 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> &