From 31a764eb44f8a3ad88c42a91c6a8c832325f1956 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 8 Mar 2024 19:06:28 -0700 Subject: [PATCH] In an internal function called from a virtual function, do not call virtual functions. --- source/grid/manifold_lib.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; } -- 2.39.5