]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #18549 from drwells/remove-more-casts-to-void
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 5 Jun 2025 23:18:32 +0000 (17:18 -0600)
committerGitHub <noreply@github.com>
Thu, 5 Jun 2025 23:18:32 +0000 (17:18 -0600)
Remove some more casts to void.

1  2 
include/deal.II/lac/solver_gmres.h
source/grid/grid_tools_dof_handlers.cc

Simple merge
index 1a27a0e58842d08330948327a7612a6a7eed0f2e,06fc9ebfd40156183702dd190e22b7aed618653f..23e4c9a2e7ff436c6c856ef8279768f54b41957e
@@@ -2127,11 -2127,9 +2127,10 @@@ namespace GridTool
      std::vector<PeriodicFacePair<CellIterator>> &matched_pairs,
      const dealii::Tensor<1, CellIterator::AccessorType::space_dimension>
                               &offset,
 -    const FullMatrix<double> &matrix)
 +    const FullMatrix<double> &matrix,
 +    const double              abs_tol = 1e-10)
    {
      static const int space_dim = CellIterator::AccessorType::space_dimension;
-     (void)space_dim;
      AssertIndexRange(direction, space_dim);
  
      if constexpr (running_in_debug_mode())

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.