From: Daniel Arndt Date: Thu, 13 Mar 2025 22:30:01 +0000 (-0400) Subject: Merge pull request #18245 from masterleinad/fix_more_clang_tidy_complaints X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d85d4b70e9722ee12636bdd6b3e9ab7c5836ea88;p=dealii.git Merge pull request #18245 from masterleinad/fix_more_clang_tidy_complaints Fix clang-tidy complaints --- d85d4b70e9722ee12636bdd6b3e9ab7c5836ea88 diff --cc source/grid/grid_generator.cc index ebd799b5c1,824b6299a5..5acf678de8 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@@ -536,10 -536,10 +536,11 @@@ namespace GridGenerato // (number_points) equidistant points. const double theta = 2 * numbers::PI / number_points; // first point is leading edge then counterclockwise + circle_points.reserve(number_points); for (unsigned int i = 0; i < number_points; ++i) - circle_points.emplace_back(center[0] - radius * cos(i * theta), - center[1] - radius * sin(i * theta)); + circle_points.emplace_back(center[0] - radius * std::cos(i * theta), + center[1] - + radius * std::sin(i * theta)); return circle_points; }