From ce5cf0c948f0b7879778dece617b97726126d8f6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 18 Feb 2025 15:54:41 -0700 Subject: [PATCH] Simplify code. --- source/distributed/cell_weights.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/source/distributed/cell_weights.cc b/source/distributed/cell_weights.cc index 251f14f7da..280922bf7b 100644 --- a/source/distributed/cell_weights.cc +++ b/source/distributed/cell_weights.cc @@ -146,12 +146,8 @@ namespace parallel const typename dealii::Triangulation::cell_iterator &cell, const CellStatus status) -> unsigned int { - return CellWeights::weighting_callback(cell, - status, - std::cref( - dof_handler), - std::cref(*tria), - weighting_function); + return CellWeights::weighting_callback( + cell, status, dof_handler, *tria, weighting_function); }; } -- 2.39.5