diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.cc b/mex/sources/k_order_perturbation/k_ord_dynare.cc
index e64ae03c9e45c11dc6eced46d2e7e3a4dbb4971f..268c18a00d4c7dc2402cbbc0835538e6b4906adf 100644
--- a/mex/sources/k_order_perturbation/k_ord_dynare.cc
+++ b/mex/sources/k_order_perturbation/k_ord_dynare.cc
@@ -178,7 +178,7 @@ KordpDynare::LLxSteady(const Vector &yS, Vector &llxSteady)
    In Dynare, the ordering is (x⁻, x, x⁺, u).
    In Dynare++, the ordering is (y⁺, y, y⁻, u).
 
-   dr_order is typically equal to M_.order_var.
+   dr_order is typically equal to oo_.dr.order_var.
 */
 void
 KordpDynare::computeJacobianPermutation(const std::vector<int> &dr_order)