From: Nils Schween Date: Wed, 15 Mar 2023 16:06:09 +0000 (+0100) Subject: correct the name of the repititions variable X-Git-Tag: v9.5.0-rc1~454^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cbe87da62cabab716e2cffca4b0055673f47383;p=dealii.git correct the name of the repititions variable --- diff --git a/tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc b/tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc index c68cf02b5e..fc32abf0d8 100644 --- a/tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc +++ b/tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc @@ -42,15 +42,15 @@ test(MPI_Comm comm) unsigned int num_refinements = 1 << 4; Point p1; Point p2; - std::vector repitions(dim); + std::vector repititions(dim); for (unsigned int i = 0; i < dim; ++i) { - p1[i] = 0.; - p2[i] = 1.; - repitions[i] = num_refinements; + p1[i] = 0.; + p2[i] = 1.; + repititions[i] = num_refinements; } - GridGenerator::subdivided_hyper_rectangle(tria, repitions, p1, p2, true); + GridGenerator::subdivided_hyper_rectangle(tria, repititions, p1, p2, true); // Collect periodic faces in the x-direction GridTools::collect_periodic_faces(tria, 0, 1, 0, matched_pairs); // Check the size of the matched_pairs vector