From de1e3ca77f14247f10e24e07c962f20735d86c7f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 30 Apr 2024 20:49:11 +0530 Subject: [PATCH] Add a missing 'const'. --- examples/step-2/step-2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/step-2/step-2.cc b/examples/step-2/step-2.cc index 6656ebbea6..185b089397 100644 --- a/examples/step-2/step-2.cc +++ b/examples/step-2/step-2.cc @@ -131,7 +131,7 @@ void make_grid(Triangulation<2> &triangulation) void write_dof_locations(const DoFHandler<2> &dof_handler, const std::string &filename) { - std::map> dof_location_map = + const std::map> dof_location_map = DoFTools::map_dofs_to_support_points(MappingQ1<2>(), dof_handler); std::ofstream dof_location_file(filename); -- 2.39.5