diff --git a/src/averageinterface.hh b/src/averageinterface.hh
index c8a806095a3d3f12efc91c21bd0d6a31cac4dc1c..f71fce4443e78cf3a80846d2392626e88432d761 100644
--- a/src/averageinterface.hh
+++ b/src/averageinterface.hh
@@ -399,7 +399,7 @@ finalize_solution(Ipopt::SolverReturn status,
 // Given a resultant force and torque (from a rod problem), this method computes the corresponding
 // Neumann data for a 3d elasticity problem.
 template <class GridType>
-void computeAveragePressureIPOpt(const Dune::FieldVector<double,GridType::dimension>& resultantForce,
+void computeAveragePressure(const Dune::FieldVector<double,GridType::dimension>& resultantForce,
                             const Dune::FieldVector<double,GridType::dimension>& resultantTorque,
                             const BoundaryPatch<GridType>& interface,
                             const Configuration& crossSection,