diff --git a/interface/pybind11_wrapper.cpp b/interface/pybind11_wrapper.cpp
index 10f55410e2c10ee622949bd59ae91ec0bca2d603..61e0d08d3bc013a8eb1c32196e2074232b42ed04 100644
--- a/interface/pybind11_wrapper.cpp
+++ b/interface/pybind11_wrapper.cpp
@@ -49,7 +49,7 @@ inline auto call_method_factory(py::module &m, const std::string& attribute) {
     
     auto f = [attribute](const py::object& model, const py::args& args, const py::kwargs& kwargs) {
         std::string warning_string = ("Calling the top-level function " + attribute + " is deprecated" +
-            " and much slower than calling the same-named method on the model instance");
+            " and much slower than calling the same-named method of the model instance");
         PyErr_WarnEx(PyExc_DeprecationWarning, warning_string.c_str(), 1);
         return model.attr(attribute.c_str())(*args, **kwargs);
     };