diff --git a/prototypes/matrix_based_non_linear_poisson/matrix_based_non_linear_poisson.cc b/prototypes/matrix_based_non_linear_poisson/matrix_based_non_linear_poisson.cc index df2d3b5087..25afe8bda6 100644 --- a/prototypes/matrix_based_non_linear_poisson/matrix_based_non_linear_poisson.cc +++ b/prototypes/matrix_based_non_linear_poisson/matrix_based_non_linear_poisson.cc @@ -162,7 +162,11 @@ Settings::try_parse(const std::string &prm_filename) << "**** directory, or use the following default values\n" << "**** to create an input file:\n"; if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0) +#if DEAL_II_VERSION_GTE(9, 7, 0) + prm.print_parameters(std::cout, ParameterHandler::DefaultStyle); +#else prm.print_parameters(std::cout, ParameterHandler::Text); +#endif return false; }