Skip to content

Commit

Permalink
Merge pull request #15373 from masterleinad/fix_doxygen_requires_pets…
Browse files Browse the repository at this point in the history
…c_timestepper

Fix doxygen for PETScWrappers::TimeStepper using DEAL_II_CXX20_REQUIRES
  • Loading branch information
bangerth committed Jun 17, 2023
2 parents 53ddb02 + 2ac628e commit 7695c34
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/deal.II/lac/petsc_ts.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ namespace PETScWrappers
template <typename VectorType = PETScWrappers::VectorBase,
typename PMatrixType = PETScWrappers::MatrixBase,
typename AMatrixType = PMatrixType>
DEAL_II_CXX20_REQUIRES(
# if defined(DEAL_II_HAVE_CXX20) && \
!defined(DEAL_II_DOXYGEN_DO_NOT_PARSE_REQUIRES_CLAUSES)
requires(
(concepts::is_dealii_petsc_vector_type<VectorType> ||
std::constructible_from<
VectorType,
Expand All @@ -313,7 +315,8 @@ namespace PETScWrappers
PMatrixType,
Mat>)&&(concepts::is_dealii_petsc_matrix_type<AMatrixType> ||
std::constructible_from<AMatrixType, Mat>))
class TimeStepper
# endif
class TimeStepper
{
public:
/**
Expand Down

0 comments on commit 7695c34

Please sign in to comment.