From: Wolfgang Bangerth Date: Sat, 9 Mar 2024 02:06:28 +0000 (-0700) Subject: In an internal function called from a virtual function, do not call virtual functions. X-Git-Tag: v9.6.0-rc1~491^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31a764eb44f8a3ad88c42a91c6a8c832325f1956;p=dealii.git In an internal function called from a virtual function, do not call virtual functions. --- diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index 2578e8285f..089bfa5989 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -766,9 +766,10 @@ SphericalManifold::do_get_new_points( { for (unsigned int row = 0; row < weight_rows; ++row) new_points[row] = - get_intermediate_point(surrounding_points[0], - surrounding_points[1], - weights[row * weight_columns + 1]); + SphericalManifold::get_intermediate_point( + surrounding_points[0], + surrounding_points[1], + weights[row * weight_columns + 1]); return; }