Skip to content

Commit

Permalink
Merge pull request #16741 from bangerth/virtual
Browse files Browse the repository at this point in the history
In an internal function called from a virtual function, do not call virtual functions.
  • Loading branch information
kronbichler committed Mar 9, 2024
2 parents f84052e + 31a764e commit f973d2f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/grid/manifold_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -766,9 +766,10 @@ SphericalManifold<dim, spacedim>::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<dim, spacedim>::get_intermediate_point(
surrounding_points[0],
surrounding_points[1],
weights[row * weight_columns + 1]);
return;
}

Expand Down

0 comments on commit f973d2f

Please sign in to comment.